de.cau.cs.kieler.synccharts.diagram.custom.commands
Class SyncchartsCutCopyPasteCommandFactory

java.lang.Object
  extended by de.cau.cs.kieler.ksbase.ui.utils.AbstractCutCopyPasteCommandFactory
      extended by de.cau.cs.kieler.synccharts.diagram.custom.commands.SyncchartsCutCopyPasteCommandFactory
All Implemented Interfaces:
ICutCopyPasteCommandFactory

public class SyncchartsCutCopyPasteCommandFactory
extends AbstractCutCopyPasteCommandFactory

Creates the cut, copy and paste commands from ksbase.

Rating yellow
(2010-06-15) msp, cmot

Constructor Summary
SyncchartsCutCopyPasteCommandFactory()
           
 
Method Summary
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
buildCopyCommand, 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

SyncchartsCutCopyPasteCommandFactory

public SyncchartsCutCopyPasteCommandFactory()
Method Detail

getBundle

protected org.osgi.framework.Bundle getBundle()
Getter for the bundle of the plugin where the file is located.

Specified by:
getBundle in class AbstractCutCopyPasteCommandFactory
Returns:
the bundle

getTypes

protected Class<?>[] getTypes()
Description copied from class: AbstractCutCopyPasteCommandFactory
Get a list of all types that can be copied or pasted.

Specified by:
getTypes in class AbstractCutCopyPasteCommandFactory
Returns:
the list of types

getFile

protected String getFile()
Getter for the transformation file. e.g.: /transformations/feature.ext

Specified by:
getFile in class AbstractCutCopyPasteCommandFactory
Returns:
the file

getModel

protected List<String> getModel()
Get the path to the model package. e.g.: de.cau.cs.kieler.synccharts.SyncchartsPackage

Specified by:
getModel in class AbstractCutCopyPasteCommandFactory
Returns:
the model package