|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.ksbase.ui.utils.AbstractCutCopyPasteCommandFactory
de.cau.cs.kieler.keg.ksbase.copypaste.KEGCutCopyPasteCommandFactory
public class KEGCutCopyPasteCommandFactory
Creates the cut, copy and paste commands from ksbase.
Constructor Summary | |
---|---|
KEGCutCopyPasteCommandFactory()
|
Method Summary | |
---|---|
ICommand |
buildCopyCommand(org.eclipse.gmf.runtime.diagram.ui.parts.IDiagramWorkbenchPart part,
List<EObject> selection)
Build a new copy command. |
protected org.osgi.framework.Bundle |
getBundle()
Getter for the bundle of the plugin where the file is located. |
protected String |
getFile()
Getter for the transformation file. |
protected List<String> |
getModel()
Get the path to the model package. |
protected Class<?>[] |
getTypes()
Get a list of all types that can be copied or pasted. |
Methods inherited from class de.cau.cs.kieler.ksbase.ui.utils.AbstractCutCopyPasteCommandFactory |
---|
buildCutCommand, buildPasteCommand, performPostOperationActions, performPreOperationActions, refreshEditPolicies |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KEGCutCopyPasteCommandFactory()
Method Detail |
---|
protected String getFile()
getFile
in class AbstractCutCopyPasteCommandFactory
protected org.osgi.framework.Bundle getBundle()
getBundle
in class AbstractCutCopyPasteCommandFactory
protected Class<?>[] getTypes()
getTypes
in class AbstractCutCopyPasteCommandFactory
protected List<String> getModel()
getModel
in class AbstractCutCopyPasteCommandFactory
public ICommand buildCopyCommand(org.eclipse.gmf.runtime.diagram.ui.parts.IDiagramWorkbenchPart part, List<EObject> selection)
AbstractCutCopyPasteCommandFactory
buildCopyCommand
in interface ICutCopyPasteCommandFactory
buildCopyCommand
in class AbstractCutCopyPasteCommandFactory
part
- the editorselection
- the selection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |