de.cau.cs.kieler.core.model.gmf.handlers
Interface ICutCopyPasteCommandFactory

All Known Implementing Classes:
AbstractCutCopyPasteCommandFactory, KEGCutCopyPasteCommandFactory, SyncchartsCutCopyPasteCommandFactory

public interface ICutCopyPasteCommandFactory

Interface for factories that provide the commands for cut, copy and paste on given selections inside a diagram.

Rating proposed yellow
(2010-06-14) soh

Method Summary
 ICommand buildCopyCommand(org.eclipse.gmf.runtime.diagram.ui.parts.IDiagramWorkbenchPart part, List<EObject> selection)
          Build the copy command.
 ICommand buildCutCommand(org.eclipse.gmf.runtime.diagram.ui.parts.IDiagramWorkbenchPart part, List<EObject> selection)
          Build the cut command.
 ICommand buildPasteCommand(org.eclipse.gmf.runtime.diagram.ui.parts.IDiagramWorkbenchPart part, List<EObject> selection)
          Build the paste command.
 

Method Detail

buildCutCommand

ICommand buildCutCommand(org.eclipse.gmf.runtime.diagram.ui.parts.IDiagramWorkbenchPart part,
                         List<EObject> selection)
Build the cut command.

Parameters:
part - the diagram editor
selection - the current selection
Returns:
the command

buildCopyCommand

ICommand buildCopyCommand(org.eclipse.gmf.runtime.diagram.ui.parts.IDiagramWorkbenchPart part,
                          List<EObject> selection)
Build the copy command.

Parameters:
part - the diagram editor
selection - the current selection
Returns:
the command

buildPasteCommand

ICommand buildPasteCommand(org.eclipse.gmf.runtime.diagram.ui.parts.IDiagramWorkbenchPart part,
                           List<EObject> selection)
Build the paste command.

Parameters:
part - the diagram editor
selection - the current selection
Returns:
the command