public abstract class AbstractEEFSectionDescriptor extends java.lang.Object implements IEEFSectionDescriptor
ENABLES_FOR_ANY, TOP| Constructor and Description |
|---|
AbstractEEFSectionDescriptor(IEEFTypeMapper typeMapper)
The constructor.
|
| 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.util.List<java.lang.String> |
getInputTypes()
Get the valid input types for this section.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getSectionClass, getTargetTabpublic AbstractEEFSectionDescriptor(IEEFTypeMapper typeMapper)
typeMapper - The type mapper for the sectionpublic org.eclipse.jface.viewers.IFilter getFilter()
getFilter in interface IEEFSectionDescriptorIEEFSectionDescriptor.getFilter()public java.util.List<java.lang.String> getInputTypes()
getInputTypes in interface IEEFSectionDescriptorIEEFSectionDescriptor.getInputTypes()public int getEnablesFor()
getEnablesFor in interface IEEFSectionDescriptorIEEFSectionDescriptor.getEnablesFor()public boolean appliesTo(org.eclipse.ui.IWorkbenchPart part,
org.eclipse.jface.viewers.ISelection selection)
appliesTo in interface IEEFSectionDescriptorpart - the current workbench part.selection - the selection.true if this section applies to the current selection.IEEFSectionDescriptor.appliesTo(org.eclipse.ui.IWorkbenchPart,
org.eclipse.jface.viewers.ISelection)public java.lang.String getAfterSection()
"top" is returned if this section
is the top most section or if there is one section in the tab.getAfterSection in interface IEEFSectionDescriptorIEEFSectionDescriptor.getAfterSection()