|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.synccharts.codegen.sc.WorkflowGenerator
public class WorkflowGenerator
The WorkflowGenerator starts the Xpand process of generating code. Variables will be set to define the out path of the generated files and the model for which to generate code.
Constructor Summary | |
---|---|
WorkflowGenerator(String fileLocation)
The constructor to use a given diagram (as *.kixs file) for generating code. |
|
WorkflowGenerator(URI fileLocation)
The constructor to use a given diagram (as *.kixs file) for generating code. |
Method Summary | |
---|---|
static String |
getAbsoultePath(URI uri)
The constructor sets the location in the KIELER workspace to save the sc files if you just generate sc code without simulation. |
String |
getFileName()
Returns the name of the file. |
EObject |
getModel()
Returns the model. |
String |
getOutPathFromUI()
|
URI |
getURI()
Returns the uri. |
void |
invokeWorkflow(boolean sim,
String path)
Invocation of the workflow. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorkflowGenerator(String fileLocation)
fileLocation
- the location of the given diagram filepublic WorkflowGenerator(URI fileLocation)
fileLocation
- the location of the given diagram fileMethod Detail |
---|
public static String getAbsoultePath(URI uri)
public String getOutPathFromUI()
public void invokeWorkflow(boolean sim, String path)
sim
- is false if you just want to generate code and true if you
want to generate code and simulate itpath
- the path where the generated files should be writtenpublic EObject getModel()
public URI getURI()
public String getFileName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |