de.cau.cs.kieler.synccharts.diagram.custom.handlers
Class CutCopyPasteSupportHandler
java.lang.Object
org.eclipse.gmf.runtime.common.ui.services.action.global.AbstractGlobalActionHandler
org.eclipse.gmf.runtime.diagram.ui.providers.DiagramGlobalActionHandler
de.cau.cs.kieler.synccharts.diagram.custom.handlers.CutCopyPasteSupportHandler
- All Implemented Interfaces:
- IGlobalActionHandler
public class CutCopyPasteSupportHandler
- extends DiagramGlobalActionHandler
- Rating

Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CutCopyPasteSupportHandler
public CutCopyPasteSupportHandler()
- Constructor for CopyWithImageSupportGlobalActionHandler.
canHandle
public boolean canHandle(IGlobalActionContext cntxt)
- Specified by:
canHandle
in interface IGlobalActionHandler
- Overrides:
canHandle
in class DiagramGlobalActionHandler
- See Also:
org.eclipse.gmf.runtime.common.ui.action.AbstractGlobalActionHandler#canHandle(IGlobalActionContext)
canPaste
protected boolean canPaste(IGlobalActionContext cntxt)
- Overrides:
canPaste
in class DiagramGlobalActionHandler
getCopyCommand
protected ICommand getCopyCommand(IGlobalActionContext cntxt,
org.eclipse.gmf.runtime.diagram.ui.parts.IDiagramWorkbenchPart diagramPart,
boolean isUndoable)
- Overrides:
getCopyCommand
in class DiagramGlobalActionHandler
getCutCommand
protected ICommand getCutCommand(IGlobalActionContext cntxt,
org.eclipse.gmf.runtime.diagram.ui.parts.IDiagramWorkbenchPart diagramPart)
- Getter for the cut command.
- Overrides:
getCutCommand
in class DiagramGlobalActionHandler
- Parameters:
cntxt
- diagramPart
-
- Returns:
getCommand
public ICommand getCommand(IGlobalActionContext cntxt)
- Specified by:
getCommand
in interface IGlobalActionHandler
- Overrides:
getCommand
in class DiagramGlobalActionHandler
createPasteViewRequest
protected org.eclipse.gmf.runtime.diagram.ui.requests.PasteViewRequest createPasteViewRequest()
- Overrides:
createPasteViewRequest
in class DiagramGlobalActionHandler