| org.eclipse.ui.actions.PartEventAction org.eclipse.ui.actions.RetargetAction org.eclipse.ui.actions.LabelRetargetAction
LabelRetargetAction | public class LabelRetargetAction extends RetargetAction (Code) | | A LabelRetargetAction extends the behavior of
RetargetAction. It will track the enable state, label, and
tool tip text of the target action..
This class may be instantiated. It is not intented to be subclassed.
since: 2.0 |
LabelRetargetAction | public LabelRetargetAction(String actionID, String text)(Code) | | Constructs a LabelRetargetAction with the given action id and text.
Parameters: actionID - the retargetable action id Parameters: text - the action's text, or null if there is no text |
LabelRetargetAction | public LabelRetargetAction(String actionID, String text, int style)(Code) | | Constructs a RetargetAction with the given action id, text and style.
Parameters: actionID - the retargetable action id Parameters: text - the action's text, or null if there is no text Parameters: style - one of AS_PUSH_BUTTON , AS_CHECK_BOX ,AS_DROP_DOWN_MENU , AS_RADIO_BUTTON , andAS_UNSPECIFIED . since: 3.0 |
propagateChange | protected void propagateChange(PropertyChangeEvent event)(Code) | | The action handler has changed. Update self.
|
setActionHandler | protected void setActionHandler(IAction handler)(Code) | | Sets the action handler. Update self.
|
setDisabledImageDescriptor | public void setDisabledImageDescriptor(ImageDescriptor image)(Code) | | |
setHoverImageDescriptor | public void setHoverImageDescriptor(ImageDescriptor image)(Code) | | |
setImageDescriptor | public void setImageDescriptor(ImageDescriptor image)(Code) | | |
setText | public void setText(String text)(Code) | | Sets the action's label text to the given value.
|
setToolTipText | public void setToolTipText(String text)(Code) | | Sets the tooltip text to the given text.
The value null clears the tooltip text.
|
|
|