Interface IExperimentBeanDescription
- All Superinterfaces:
org.eclipse.richbeans.xml.cell.IXMLFileListProvider
- All Known Implementing Classes:
ExperimentBeanDescription
public interface IExperimentBeanDescription
extends org.eclipse.richbeans.xml.cell.IXMLFileListProvider
-
Method Summary
Modifier and TypeMethodDescriptionClass<? extends XMLRichBean> Get the bean class we are describingShould return which Exafs type of top level bean this is.Return the command id (org.eclipse.ui.commands) that corresponds to this describer.org.eclipse.core.runtime.content.IContentTypeGet the content type for this bean.getName()Returns the user displayed name for this Bean.Return an instance of theXMLCommandHandlerthe corresponds to this describer.booleanReturns whether the bean described by this description should be included in a newly created (default) scanMethods inherited from interface org.eclipse.richbeans.xml.cell.IXMLFileListProvider
getSortedFileList
-
Method Details
-
getBeanClass
Class<? extends XMLRichBean> getBeanClass()Get the bean class we are describing- Returns:
- the bean class, will not be
null
-
getCommandId
String getCommandId()Return the command id (org.eclipse.ui.commands) that corresponds to this describer.- Returns:
- command id, or null if there is no corresponding command
-
getContentType
org.eclipse.core.runtime.content.IContentType getContentType()Get the content type for this bean.- Returns:
- content type, or
nullif bean is not registered with Eclipse
-
getBeanType
String getBeanType()Should return which Exafs type of top level bean this is.- Returns:
- applicable type, must not return
null
-
getName
String getName()Returns the user displayed name for this Bean.- Returns:
- name, will not be
nullor empty string
-
getXmlCommandHander
XMLCommandHandler getXmlCommandHander()Return an instance of theXMLCommandHandlerthe corresponds to this describer.The implementer should cache the result and return it each time.
- Returns:
- XMLCommandHandler. Must not return
null
-
includeInNew
boolean includeInNew()Returns whether the bean described by this description should be included in a newly created (default) scan- Returns:
- whether to include in a new scan
-
toStringTitleCase
String toStringTitleCase()
-