| org.eclipse.ui.views.properties.tabbed.ISectionDescriptor
All known Subclasses: org.eclipse.ui.views.properties.tabbed.AbstractSectionDescriptor,
ISectionDescriptor | public interface ISectionDescriptor (Code) | | Represents a section descriptor on the tabbed property sections extensions.
This interface should not be extended or implemented. New instances should be
created using AbstractSectionDescriptor .
author: Anthony Hunter |
Field Summary | |
final public int | ENABLES_FOR_ANY If enabledFor is not specified in the descriptor, enable for any
selection. | final public static String | TOP If afterSection is not specified in the descriptor, we default to be the
top section. |
Method Summary | |
public boolean | appliesTo(IWorkbenchPart part, ISelection selection) Determines if this section applies to the selection.
Parameters: part - the current workbench part. Parameters: selection - the selection. | public String | getAfterSection() Get the section identifier below which this section is displayed. | public int | getEnablesFor() Get the value for section enablement which is a precise number of items
selected. | public IFilter | getFilter() Get the section filter instance for this section. | public String | getId() Get the unique identifier for the section. | public List | getInputTypes() Get the valid input types for this section. | public ISection | getSectionClass() Get the class that implements this section. | public String | getTargetTab() Get the target tab where this section will appear. |
ENABLES_FOR_ANY | final public int ENABLES_FOR_ANY(Code) | | If enabledFor is not specified in the descriptor, enable for any
selection.
|
TOP | final public static String TOP(Code) | | If afterSection is not specified in the descriptor, we default to be the
top section.
|
appliesTo | public boolean appliesTo(IWorkbenchPart part, ISelection selection)(Code) | | Determines if this section applies to the selection.
Parameters: part - the current workbench part. Parameters: selection - the selection. true if this section applies to the currentselection. |
getAfterSection | public String getAfterSection()(Code) | | Get the section identifier below which this section is displayed.
"top" is returned if this section is the top most section
or if there is one section in the tab.
the section identifier. |
getEnablesFor | public int getEnablesFor()(Code) | | Get the value for section enablement which is a precise number of items
selected. For example: enablesFor="1" enables the section only when one
item is selected. If not specified, enable for any selection and return
ENABLES_FOR_ANY.
the value for section enablement. |
getFilter | public IFilter getFilter()(Code) | | Get the section filter instance for this section. Return null if no
filter for this section.
the section filter instance. |
getId | public String getId()(Code) | | Get the unique identifier for the section.
the unique identifier for the section. |
getInputTypes | public List getInputTypes()(Code) | | Get the valid input types for this section.
the valid input types for this section. |
getSectionClass | public ISection getSectionClass()(Code) | | Get the class that implements this section.
the class that implements this section. |
getTargetTab | public String getTargetTab()(Code) | | Get the target tab where this section will appear.
the target tab where this section will appear. |
|
|