|
Eclipse Platform Release 3.4 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
.
Field Summary | |
static int |
ENABLES_FOR_ANY
If enabledFor is not specified in the descriptor, enable for any selection. |
static String |
TOP
If afterSection is not specified in the descriptor, we default to be the top section. |
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. |
String |
getId()
Get the unique identifier for the section. |
List |
getInputTypes()
Get the valid input types for this section. |
ISection |
getSectionClass()
Get the class that implements this section. |
String |
getTargetTab()
Get the target tab where this section will appear. |
Field Detail |
public static final int ENABLES_FOR_ANY
public static final String TOP
Method Detail |
public String getId()
public IFilter getFilter()
public List getInputTypes()
public ISection getSectionClass()
public String getTargetTab()
public int getEnablesFor()
public boolean appliesTo(IWorkbenchPart part, ISelection selection)
part
- the current workbench part.selection
- the selection.
true
if this section applies to the current
selection.public String getAfterSection()
"top"
is returned if this section is the top most section
or if there is one section in the tab.
|
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.