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)
Find out the enablement of the item
|
String |
getText(IContributionItem item)
This is not intended to be called outside of the workbench.
|
Boolean |
getVisible(IContributionItem item)
Visiblity override.
|
static final String P_ENABLED
"enabled"
.Boolean getEnabled(IContributionItem item)
item
- the contribution item for which the enable override value is
determinedBoolean.TRUE
if the given contribution item should be enabledBoolean.FALSE
if the item should be disablednull
if the item may determine its own enablementInteger getAccelerator(IContributionItem item)
item
- the contribution item for which the accelerator value is determinedString getAcceleratorText(IContributionItem item)
item
- the contribution item for which the accelerator text is determinedString getText(IContributionItem item)
item
- the contribution item for which the text is determinedBoolean getVisible(IContributionItem item)
item
- the contribution item in questionBoolean.TRUE
if the given contribution item should be visibleBoolean.FALSE
if the item should not be visiblenull
if the item may determine its own visibility
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.