| org.eclipse.ui.internal.ide.actions.RetargetActionWithDefault
RetargetActionWithDefault | public class RetargetActionWithDefault extends RetargetAction (Code) | | A specialization of RetargetAction that allows for specification of a default
handler when the active part does not supply one. Enablement of this
action is based on enablement of the handler, or enablement of the default
handler if no explicit handler is available.
since: 3.1 |
RetargetActionWithDefault | public RetargetActionWithDefault(String actionID, String text)(Code) | | Constructs a RetargetActionWithDefault 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 |
setActionHandler | protected void setActionHandler(IAction newHandler)(Code) | | |
setDefaultHandler | public void setDefaultHandler(IAction handler)(Code) | | Sets the default handler for this action.
Parameters: handler - An action handler, or null |
|
|