public interface IEEFSectionDescriptor
This interface should not be extended or implemented. New instances should be created using
AbstractEEFSectionDescriptor
.
Modifier and Type | Field and Description |
---|---|
static int |
ENABLES_FOR_ANY
If enabledFor is not specified in the descriptor, enable for any selection.
|
static java.lang.String |
TOP
If afterSection is not specified in the descriptor, we default to be the top section.
|
Modifier and Type | Method and Description |
---|---|
boolean |
appliesTo(org.eclipse.ui.IWorkbenchPart part,
org.eclipse.jface.viewers.ISelection selection)
Determines if this section applies to the selection.
|
java.lang.String |
getAfterSection()
Get the section identifier below which this section is displayed.
|
int |
getEnablesFor()
Get the value for section enablement which is a precise number of items selected.
|
org.eclipse.jface.viewers.IFilter |
getFilter()
Get the section filter instance for this section.
|
java.lang.String |
getId()
Get the unique identifier for the section.
|
java.util.List<java.lang.String> |
getInputTypes()
Get the valid input types for this section.
|
IEEFSection |
getSectionClass()
Get the class that implements this section.
|
java.lang.String |
getTargetTab()
Get the target tab where this section will appear.
|
static final int ENABLES_FOR_ANY
static final java.lang.String TOP
java.lang.String getId()
org.eclipse.jface.viewers.IFilter getFilter()
java.util.List<java.lang.String> getInputTypes()
IEEFSection getSectionClass()
java.lang.String getTargetTab()
int getEnablesFor()
boolean appliesTo(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection)
part
- the current workbench part.selection
- the selection.true
if this section applies to the current selection.java.lang.String getAfterSection()
"top"
is returned if this section
is the top most section or if there is one section in the tab.