public interface IContributionManagerOverrides
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.
Modifier and Type | Field and Description |
---|---|
static String |
P_ENABLED
Id for the enabled property.
|
Modifier and Type | Method and Description |
---|---|
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)
Returns
Boolean.TRUE if the given contribution item should
be enabled, Boolean.FALSE if the item should be disabled, and
null if the item may determine its own enablement. |
String |
getText(IContributionItem item)
This is not intended to be called outside of the workbench.
|
static final String P_ENABLED
"enabled"
.Boolean getEnabled(IContributionItem item)
Boolean.TRUE
if the given contribution item should
be enabled, Boolean.FALSE
if the item should be disabled, and
null
if the item may determine its own enablement.item
- the contribution item for which the enable override value is
determinedInteger getAccelerator(IContributionItem item)
String getAcceleratorText(IContributionItem item)
String getText(IContributionItem item)
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.