Class SetExtensionMethodHandler

  • All Implemented Interfaces:
    org.eclipse.core.commands.IHandler, org.eclipse.ui.commands.IElementUpdater
    Direct Known Subclasses:
    SetExtensionMethodMergeHandler, SetExtensionMethodReplaceHandler

    public class SetExtensionMethodHandler
    extends Object
    implements org.eclipse.core.commands.IHandler, org.eclipse.ui.commands.IElementUpdater
    Base handler for set extension method commands.
    • Method Detail

      • updateElement

        public void updateElement​(org.eclipse.ui.menus.UIElement element,
                                  Map parameters)
        Specified by:
        updateElement in interface org.eclipse.ui.commands.IElementUpdater
      • addHandlerListener

        public void addHandlerListener​(org.eclipse.core.commands.IHandlerListener handlerListener)
        Specified by:
        addHandlerListener in interface org.eclipse.core.commands.IHandler
      • dispose

        public void dispose()
        Specified by:
        dispose in interface org.eclipse.core.commands.IHandler
      • execute

        public Object execute​(org.eclipse.core.commands.ExecutionEvent event)
                       throws org.eclipse.core.commands.ExecutionException
        Specified by:
        execute in interface org.eclipse.core.commands.IHandler
        Throws:
        org.eclipse.core.commands.ExecutionException
      • isEnabled

        public boolean isEnabled()
        Specified by:
        isEnabled in interface org.eclipse.core.commands.IHandler
      • isHandled

        public boolean isHandled()
        Specified by:
        isHandled in interface org.eclipse.core.commands.IHandler
      • removeHandlerListener

        public void removeHandlerListener​(org.eclipse.core.commands.IHandlerListener handlerListener)
        Specified by:
        removeHandlerListener in interface org.eclipse.core.commands.IHandler