|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.williams.cs.ljil.finitizer.FSPBuilder
public class FSPBuilder
Primary class for FSP building logic: keeps track of the Little-JIL program and resolution actions.
| Field Summary | |
|---|---|
protected java.util.Vector |
appliedTransformations
Sequence of pending transformations. |
protected FSPPathologist |
pathologist
The resident doctor. |
protected java.util.Vector |
pendingTransformations
Sequence of pending transformations. |
protected laser.littlejil.Program |
program
The Little-JIL Program. |
| Constructor Summary | |
|---|---|
FSPBuilder(java.lang.String filename)
Construct an FSP Builder Logic for the given file. |
|
| Method Summary | |
|---|---|
void |
addTransformationListener(TransformationListener tl)
|
void |
generateFSP()
Generate the FSP Model |
InteractiveFrontend |
getFrontend()
|
java.util.Vector |
getIssues()
Get a vector of current issues. |
laser.littlejil.Program |
getProgram()
Get the Little-JIL Program object |
java.lang.String |
getProgramName()
Get the name of the program (name of root diagram). |
laser.littlejil.Step |
getRootStep()
Get the program's root step. |
protected void |
notifyApplied(Transformation t)
|
protected void |
notifyUnapplied(Transformation t)
|
void |
recordTransformationApplied(AppliedTransformation at)
Indicate that the given transformation has been applied. |
void |
registerPendingTransformation(PendingTransformation pt)
Indicate that the given transformation is pending |
void |
setFrontend(InteractiveFrontend frontend)
|
void |
undoTransformationApplied(AppliedTransformation at)
Indicate that the given transformation has been undone. |
void |
unregisterPendingTransformation(PendingTransformation pt)
Undo application of a pending transformation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected laser.littlejil.Program program
protected FSPPathologist pathologist
protected java.util.Vector pendingTransformations
protected java.util.Vector appliedTransformations
| Constructor Detail |
|---|
public FSPBuilder(java.lang.String filename)
throws java.io.FileNotFoundException,
java.io.IOException,
java.lang.ClassNotFoundException
java.io.FileNotFoundException
java.io.IOException
java.lang.ClassNotFoundException| Method Detail |
|---|
public InteractiveFrontend getFrontend()
public void setFrontend(InteractiveFrontend frontend)
frontend - An interactive frontend for prompting userpublic void registerPendingTransformation(PendingTransformation pt)
public void unregisterPendingTransformation(PendingTransformation pt)
public void recordTransformationApplied(AppliedTransformation at)
public void undoTransformationApplied(AppliedTransformation at)
public void generateFSP()
public java.lang.String getProgramName()
public laser.littlejil.Program getProgram()
public laser.littlejil.Step getRootStep()
public java.util.Vector getIssues()
throws NullStepException
NullStepException - is thrown if the root step in the process is nullpublic void addTransformationListener(TransformationListener tl)
protected void notifyApplied(Transformation t)
protected void notifyUnapplied(Transformation t)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||