Package org.eclipse.jface.action
Interface IContributionManagerOverrides
-
public interface IContributionManagerOverridesThis interface is used by instances ofIContributionItemto 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.
- Since:
- 2.0
- Restriction:
- This interface is not intended to be implemented by clients.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringP_ENABLEDId for the enabled property.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.IntegergetAccelerator(IContributionItem item)This is not intended to be called outside of the workbench.java.lang.StringgetAcceleratorText(IContributionItem item)This is not intended to be called outside of the workbench.java.lang.BooleangetEnabled(IContributionItem item)Find out the enablement of the itemjava.lang.StringgetText(IContributionItem item)This is not intended to be called outside of the workbench.java.lang.BooleangetVisible(IContributionItem item)Visiblity override.
-
-
-
Field Detail
-
P_ENABLED
static final java.lang.String P_ENABLED
Id for the enabled property. Value is"enabled".- Since:
- 2.0
- See Also:
- Constant Field Values
-
-
Method Detail
-
getEnabled
java.lang.Boolean getEnabled(IContributionItem item)
Find out the enablement of the item- Parameters:
item- the contribution item for which the enable override value is determined- Returns:
Boolean.TRUEif the given contribution item should be enabledBoolean.FALSEif the item should be disablednullif the item may determine its own enablement
- Since:
- 2.0
-
getAccelerator
java.lang.Integer getAccelerator(IContributionItem item)
This is not intended to be called outside of the workbench. This method is intended to be deprecated in 3.1. TODO deprecate for 3.1- Parameters:
item- the contribution item for which the accelerator value is determined- Returns:
- the accelerator
-
getAcceleratorText
java.lang.String getAcceleratorText(IContributionItem item)
This is not intended to be called outside of the workbench. This method is intended to be deprecated in 3.1. TODO deprecate for 3.1- Parameters:
item- the contribution item for which the accelerator text is determined- Returns:
- the text for the accelerator
-
getText
java.lang.String getText(IContributionItem item)
This is not intended to be called outside of the workbench. This method is intended to be deprecated in 3.1. TODO deprecate for 3.1- Parameters:
item- the contribution item for which the text is determined- Returns:
- the text
-
getVisible
java.lang.Boolean getVisible(IContributionItem item)
Visiblity override.- Parameters:
item- the contribution item in question- Returns:
Boolean.TRUEif the given contribution item should be visibleBoolean.FALSEif the item should not be visiblenullif the item may determine its own visibility
- Since:
- 3.5
-
-