Package com._1c.g5.v8.dt.md.ui.commands
Class CopyMdObjectHandler
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.CopyMdObjectHandler
- All Implemented Interfaces:
org.eclipse.core.commands.IHandler
,org.eclipse.core.commands.IHandler2
Handler for copying
MdObject
s to clipboard.-
Constructor Summary
Constructors -
Method Summary
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
-
Constructor Details
-
CopyMdObjectHandler
public CopyMdObjectHandler()
-
-
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 classAbstractClipboardHandler
- Parameters:
event
- theExecutionEvent
clipboard
- theClipboard
- Returns:
- the result of the execution
-