Package com._1c.g5.v8.dt.md.ui.commands
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
Handler for pasting
MdObject objects from clipboard.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com._1c.g5.v8.dt.ui.commands.AbstractClipboardHandler
executeMethods inherited from class org.eclipse.core.commands.AbstractHandler
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabledMethods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
-
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:AbstractClipboardHandlerExecutes with event and clipboard.- Specified by:
executein classAbstractClipboardHandler- Parameters:
event- theExecutionEventclipboard- theClipboard- Returns:
- the result of the execution
-