|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gef.Request
de.cau.cs.kieler.ksbase.ui.handler.ExecuteTransformationRequest
public class ExecuteTransformationRequest
Request for the execution of a model transformation.
Field Summary | |
---|---|
static String |
REQ_EXEC_TRANS
The request used to initiate a transformation. |
Constructor Summary | |
---|---|
ExecuteTransformationRequest(IEditorPart ePart,
String cmd,
String file,
List<Object> sel,
List<String> themodelPackages,
ITransformationFramework fframework)
Creates a transformation request. |
Method Summary | |
---|---|
String |
getCommand()
Gets the transformation command. |
IEditorPart |
getEditPart()
Gets the edit part. |
String |
getFileName()
Gets the filename. |
ITransformationFramework |
getFramework()
Gets the assigned transformation framework. |
List<String> |
getModelPackages()
Gets the model package. |
List<Object> |
getSelection()
The current selection. |
void |
setCommand(String cmd)
Sets the transformation command. |
void |
setEditPart(IEditorPart epart)
Sets the edit part. |
void |
setFileName(String file)
Sets the filename. |
void |
setFramework(ITransformationFramework fframework)
Sets the transformation framework. |
void |
setSelection(List<Object> sel)
Sets the current selection. |
Methods inherited from class org.eclipse.gef.Request |
---|
getExtendedData, getType, setExtendedData, setType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String REQ_EXEC_TRANS
Constructor Detail |
---|
public ExecuteTransformationRequest(IEditorPart ePart, String cmd, String file, List<Object> sel, List<String> themodelPackages, ITransformationFramework fframework)
ePart
- The active EditPartcmd
- The transformation commandfile
- Name of the transformation filesel
- The active selectionthemodelPackages
- The model packages for the active editorfframework
- The ITransformationFramework to use for executionMethod Detail |
---|
public final List<String> getModelPackages()
public final void setEditPart(IEditorPart epart)
epart
- The target edit part.public final IEditorPart getEditPart()
public final void setCommand(String cmd)
cmd
- The transformation command.public final String getCommand()
public final void setFileName(String file)
file
- Name of the file.public final String getFileName()
public final void setSelection(List<Object> sel)
sel
- The active selection objectpublic final List<Object> getSelection()
public ITransformationFramework getFramework()
public void setFramework(ITransformationFramework fframework)
fframework
- An implementation of ITransformationFramework
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |