Package org.eclipse.jface.action
Interface IContributionManagerOverrides
@NoImplement
public interface IContributionManagerOverrides
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.
- Since:
- 2.0
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionThis is not intended to be called outside of the workbench.This is not intended to be called outside of the workbench.getEnabled
(IContributionItem item) Find out the enablement of the itemgetText
(IContributionItem item) This is not intended to be called outside of the workbench.getVisible
(IContributionItem item) Visiblity override.
-
Field Details
-
P_ENABLED
Id for the enabled property. Value is"enabled"
.- Since:
- 2.0
- See Also:
-
-
Method Details
-
getEnabled
Find out the enablement of the item- Parameters:
item
- the contribution item for which the enable override value is determined- Returns:
Boolean.TRUE
if the given contribution item should be enabledBoolean.FALSE
if the item should be disablednull
if the item may determine its own enablement
- Since:
- 2.0
-
getAccelerator
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
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
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
Visiblity override.- Parameters:
item
- the contribution item in question- Returns:
Boolean.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
- Since:
- 3.5
-