Package com._1c.g5.v8.dt.ui.commands
Class AbstractClipboardHandler
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.core.commands.AbstractHandler
-
- com._1c.g5.v8.dt.ui.commands.AbstractClipboardHandler
-
- All Implemented Interfaces:
org.eclipse.core.commands.IHandler
,org.eclipse.core.commands.IHandler2
- Direct Known Subclasses:
CopyMdObjectHandler
,DefaultCopyTextCommandHandler
,PasteMdObjectHandler
public abstract class AbstractClipboardHandler extends org.eclipse.core.commands.AbstractHandler
Abstract class for clipboard hanlders like Copy, Paste, etc.
-
-
Constructor Summary
Constructors Constructor Description AbstractClipboardHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Object
execute(org.eclipse.core.commands.ExecutionEvent event)
protected abstract 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
-
-
-
-
Method Detail
-
execute
public Object execute(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException
- Throws:
org.eclipse.core.commands.ExecutionException
-
execute
protected abstract Object execute(org.eclipse.core.commands.ExecutionEvent event, org.eclipse.swt.dnd.Clipboard clipboard)
Executes with event and clipboard.- Parameters:
event
- theExecutionEvent
clipboard
- theClipboard
- Returns:
- the result of the execution
-
-