Class CopyMdObjectHandler

  • All Implemented Interfaces:
    org.eclipse.core.commands.IHandler, org.eclipse.core.commands.IHandler2

    public class CopyMdObjectHandler
    extends AbstractClipboardHandler
    Handler for copying MdObjects to clipboard.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected Object execute​(org.eclipse.core.commands.ExecutionEvent event, org.eclipse.swt.dnd.Clipboard clipboard)
      Executes with event and clipboard.
      • Methods inherited from class org.eclipse.core.commands.AbstractHandler

        addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabled
      • Methods inherited from class org.eclipse.core.commands.common.EventManager

        addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
    • Constructor Detail

      • CopyMdObjectHandler

        public CopyMdObjectHandler()
    • Method Detail

      • execute

        protected Object execute​(org.eclipse.core.commands.ExecutionEvent event,
                                 org.eclipse.swt.dnd.Clipboard clipboard)
        Description copied from class: AbstractClipboardHandler
        Executes with event and clipboard.
        Specified by:
        execute in class AbstractClipboardHandler
        Parameters:
        event - the ExecutionEvent
        clipboard - the Clipboard
        Returns:
        the result of the execution