Class PasteMdObjectHandler

java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
com._1c.g5.v8.dt.ui.commands.AbstractClipboardHandler
com._1c.g5.v8.dt.md.ui.commands.PasteMdObjectHandler
All Implemented Interfaces:
org.eclipse.core.commands.IHandler, org.eclipse.core.commands.IHandler2

public class PasteMdObjectHandler extends AbstractClipboardHandler
Handler for pasting MdObject objects from clipboard.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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 com._1c.g5.v8.dt.ui.commands.AbstractClipboardHandler

    execute

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PasteMdObjectHandler

      public PasteMdObjectHandler()
  • Method Details

    • 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