|
Eclipse Platform Release 3.4 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.views.properties.tabbed.AbstractSectionDescriptor
An abstract implementation of a section descriptor for the tabbed property view.
Field Summary |
Fields inherited from interface org.eclipse.ui.views.properties.tabbed.ISectionDescriptor |
ENABLES_FOR_ANY, TOP |
Constructor Summary | |
AbstractSectionDescriptor()
Constructor for AbstractSectionDescriptor. |
|
AbstractSectionDescriptor(ITypeMapper typeMapper)
Constructor for AbstractSectionDescriptor. |
Method Summary | |
boolean |
appliesTo(IWorkbenchPart part,
ISelection selection)
Determines if this section applies to the selection. |
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. |
IFilter |
getFilter()
Get the section filter instance for this section. |
List |
getInputTypes()
Get the valid input types for this section. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.ui.views.properties.tabbed.ISectionDescriptor |
getId, getSectionClass, getTargetTab |
Constructor Detail |
public AbstractSectionDescriptor()
public AbstractSectionDescriptor(ITypeMapper typeMapper)
typeMapper
- the type mapper for the section.Method Detail |
public boolean appliesTo(IWorkbenchPart part, ISelection selection)
ISectionDescriptor
appliesTo
in interface ISectionDescriptor
part
- the current workbench part.selection
- the selection.
true
if this section applies to the current
selection.public String getAfterSection()
ISectionDescriptor
"top"
is returned if this section is the top most section
or if there is one section in the tab.
getAfterSection
in interface ISectionDescriptor
public int getEnablesFor()
ISectionDescriptor
getEnablesFor
in interface ISectionDescriptor
public IFilter getFilter()
ISectionDescriptor
getFilter
in interface ISectionDescriptor
public List getInputTypes()
ISectionDescriptor
getInputTypes
in interface ISectionDescriptor
|
Eclipse Platform Release 3.4 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.