|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.s.codegen.AbstractWorkflowGenerator
public abstract class AbstractWorkflowGenerator
Field Summary | |
---|---|
protected EObject |
myModel
|
protected static String |
outPath
|
protected org.eclipse.xpand2.output.PostProcessor |
postProcessor
|
protected URI |
uri
|
protected String |
uriString
|
Constructor Summary | |
---|---|
AbstractWorkflowGenerator()
The constructor sets the location in the KIELER workspace to save the sc files if you just generate sc code without simulation. |
|
AbstractWorkflowGenerator(IFile selectedFile)
Creates a new AbstractWorkflowGenerator.java. |
|
AbstractWorkflowGenerator(IFile selectedFile,
String fileLocation)
Creates a new AbstractWorkflowGenerator.java. |
|
AbstractWorkflowGenerator(String fileLocation)
The constructor to use a given diagram (as *.kixs file) for generating code. |
Method Summary | |
---|---|
String |
getFileName()
Returns the name of the file. |
EObject |
getModel()
Returns the model. |
abstract String |
getNameOfMainMethod()
Getter for the name of the root method. |
abstract String |
getPathToMainTemplate()
Getter for the path to the main code generation template file. |
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 |
Field Detail |
---|
protected EObject myModel
protected static String outPath
protected String uriString
protected URI uri
protected org.eclipse.xpand2.output.PostProcessor postProcessor
Constructor Detail |
---|
public AbstractWorkflowGenerator()
public AbstractWorkflowGenerator(String fileLocation)
fileLocation
- the location of the given diagram filepublic AbstractWorkflowGenerator(IFile selectedFile)
selectedFile
- public AbstractWorkflowGenerator(IFile selectedFile, String fileLocation)
selectedFile
- fileLocation
- Method Detail |
---|
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 abstract String getPathToMainTemplate()
public abstract String getNameOfMainMethod()
public EObject getModel()
public URI getURI()
public String getFileName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |