de.cau.cs.kieler.keg.ksbase.copypaste
Class KEGCutCopyPasteHandler
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.core.model.gmf.handlers.AbstractCutCopyPasteHandler
de.cau.cs.kieler.keg.ksbase.copypaste.KEGCutCopyPasteHandler
- All Implemented Interfaces:
- IGlobalActionHandler
public class KEGCutCopyPasteHandler
- extends AbstractCutCopyPasteHandler
Graphs specific handler for cut, copy and paste operations.
- Rating

Methods inherited from class de.cau.cs.kieler.core.model.gmf.handlers.AbstractCutCopyPasteHandler |
canHandle, canKsbaseCopy, canKsbasePaste, canPaste, createPasteViewRequest, getCommand, getCopyCommand, getCutCommand, getKsBaseCopyCommand, getKsBaseCutCommand, getKsbasePasteCommand |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEGCutCopyPasteHandler
public KEGCutCopyPasteHandler()
- Constructs a new GraphsCutCopyPasteHandler.
isValidSelection
protected boolean isValidSelection(IStructuredSelection selection)
- Checks whether the selection contains only valid parts. This must be
implemented by the subclasses.
- Specified by:
isValidSelection
in class AbstractCutCopyPasteHandler
- Parameters:
selection
- the selection
- Returns:
- true if only valid parts are in the selection
getCommandFactory
protected ICutCopyPasteCommandFactory getCommandFactory()
- Getter for the factory producing the commands.
- Specified by:
getCommandFactory
in class AbstractCutCopyPasteHandler
- Returns:
- the factory