Class ActionHandler

  • All Implemented Interfaces:
    IHandler, IHandler2, IHandler

    @Deprecated
    public final class ActionHandler
    extends AbstractHandler
    Deprecated.
    Please use the "org.eclipse.core.commands" plug-in instead. This API is scheduled for deletion, see Bug 431177 for details
    This class adapts instances of IAction to IHandler.
    Since:
    3.0
    See Also:
    ActionHandler
    Restriction:
    This class is scheduled for deletion.
    • Constructor Detail

      • ActionHandler

        @Deprecated
        public ActionHandler​(IAction action)
        Deprecated.
        Creates a new instance of this class given an instance of IAction.
        Parameters:
        action - the action. Must not be null.
    • Method Detail

      • execute

        @Deprecated
        public java.lang.Object execute​(java.util.Map parameterValuesByName)
                                 throws ExecutionException
        Deprecated.
        Description copied from interface: IHandler
        Executes with the map of parameter values by name.
        Parameters:
        parameterValuesByName - the map of parameter values by name. Reserved for future use, must be null.
        Returns:
        the result of the execution. Reserved for future use, must be null.
        Throws:
        ExecutionException - if an exception occurred during execution.
      • getAction

        @Deprecated
        public IAction getAction()
        Deprecated.
        Returns the action associated with this handler
        Returns:
        the action associated with this handler (not null)
        Since:
        3.1
      • toString

        @Deprecated
        public java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Object