|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Script
Interface for all scripts
| Method Summary | |
|---|---|
String |
getCode()
This Returns the source code of the Script for staring in File |
boolean |
getCodeEmbedded()
If true the code is Saved embedded in the gml file |
ScriptEnvironment |
getEnvironment()
You can add some entries to the environment by getting the environment and adding entries. |
org.eclipse.core.resources.IFile |
getFile()
|
String |
getLabel()
Get the name of the script, which is shown as an identifier for the script if it appears in the program. |
void |
run()
Runs the Script This method should not throw any error !!! |
void |
setCodeEmbedded(boolean flag)
|
| Method Detail |
|---|
void run()
run in interface RunnableString getLabel()
String getCode()
boolean getCodeEmbedded()
void setCodeEmbedded(boolean flag)
flag - if the code should be embeddedorg.eclipse.core.resources.IFile getFile()
ScriptEnvironment getEnvironment()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||