|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is used by instances of IContributionItem
to determine if the values for certain properties have been overriden
by their manager.
This interface is internal to the framework; it should not be implemented outside the framework.
Field Summary | |
---|---|
static String |
P_ENABLED
Id for the enabled property. |
Method Summary | |
---|---|
Integer |
getAccelerator(IContributionItem item)
This is not intended to be called outside of the workbench. |
String |
getAcceleratorText(IContributionItem item)
This is not intended to be called outside of the workbench. |
Boolean |
getEnabled(IContributionItem item)
Find out the enablement of the item |
String |
getText(IContributionItem item)
This is not intended to be called outside of the workbench. |
Field Detail |
public static final String P_ENABLED
"enabled"
.
Method Detail |
public Boolean getEnabled(IContributionItem item)
item
- the contribution item for which the enable override value is
determined
Boolean.TRUE
if the given contribution item should be enabledBoolean.FALSE
if the item should be disablednull
if the item may determine its own enablementpublic Integer getAccelerator(IContributionItem item)
item
- the contribution item for which the accelerator value is determined
public String getAcceleratorText(IContributionItem item)
item
- the contribution item for which the accelerator text is determined
public String getText(IContributionItem item)
item
- the contribution item for which the text is determined
|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.