|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectar.edu.unr.fceia.bottallo.Core
public class Core
Basic construction of Statecharts systems, send events to systems, execute scripts
Field Summary | |
---|---|
static int |
NEGATIVE
|
static int |
SYNTAX
|
static int |
UNSET
|
static int |
UNSUPPORTED
|
Constructor Summary | |
---|---|
Core()
|
Method Summary | |
---|---|
protected void |
drawSystem()
Draw the system, generate a .odg file with de statusX of the system Run a script to make the .odg file |
protected java.lang.String |
getEventsInSystem()
Return the system's events as a string with events separated with colons (:) See buttonEditorActionPerformed (Statecharts) |
void |
initSystem()
Intialization system stage |
protected void |
removeAuxiliarFiles()
Remove auxiliar files from temporary directory, run a script. |
protected void |
sendCommonEvent(java.lang.String e)
Send a common to the algorithm |
protected void |
sendTimeEvent(int t)
Send a time-event to the algorithm |
protected void |
setSystem(java.lang.String path2system)
Set the system, run a script to get the XML file inside of the .odg file |
protected void |
unsetSystem()
Destroy the actual system to eventually create a new one See buttonExaminarActionPerformed (Statecharts) |
protected void |
validateSystem()
Runs a number of functions to validate the input system See buttonInicioActionPerformed (Statecharts) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int UNSUPPORTED
public static int UNSET
public static int NEGATIVE
public static int SYNTAX
Constructor Detail |
---|
public Core()
Method Detail |
---|
protected void unsetSystem()
protected void setSystem(java.lang.String path2system)
path2system
- A String with the absolute path of the .odg file (system file)protected void drawSystem()
protected void removeAuxiliarFiles()
protected java.lang.String getEventsInSystem()
protected void validateSystem()
public void initSystem()
protected void sendTimeEvent(int t)
protected void sendCommonEvent(java.lang.String e)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |