|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.williams.cs.ljil.finitizer.Actionable
edu.williams.cs.ljil.finitizer.actions.ResolutionAction
edu.williams.cs.ljil.finitizer.actions.AppliedTransformationAction
public abstract class AppliedTransformationAction
| Field Summary | |
|---|---|
protected FSPBuilder |
fspb
The main controller |
protected AppliedTransformation |
myAT
An object recording the action taken so it can be undone later. |
protected laser.littlejil.AbstractStep |
poststep
Step afte the transformation is applied. |
protected edu.williams.cs.ljil.fsp.StepRef |
prestep
Step to which the transformation is applied |
| Constructor Summary | |
|---|---|
AppliedTransformationAction(FSPBuilder f,
edu.williams.cs.ljil.fsp.StepRef s)
Creates a transformation action. |
|
| Method Summary | |
|---|---|
void |
apply()
Applies a transformation |
void |
unapply()
Undoes a transformation. |
| Methods inherited from class edu.williams.cs.ljil.finitizer.actions.ResolutionAction |
|---|
ensureApplied, ensureUnapplied, getDescription, isApplied, toString |
| Methods inherited from class edu.williams.cs.ljil.finitizer.Actionable |
|---|
addStateListener, addStateListenerRecursively, addSubAction, fireStateChanged, getParent, getSubActionAt, getSubActionCount, getSubActions, indexOf, isLeaf, isResolved, removeStateListener, setParent, unapplyAllSubActions |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final edu.williams.cs.ljil.fsp.StepRef prestep
protected laser.littlejil.AbstractStep poststep
protected final FSPBuilder fspb
protected AppliedTransformation myAT
| Constructor Detail |
|---|
public AppliedTransformationAction(FSPBuilder f,
edu.williams.cs.ljil.fsp.StepRef s)
f - The main controllers - The step that will be modifiied if the action is applied| Method Detail |
|---|
public void apply()
throws java.lang.IllegalStateException
apply in class ResolutionActionjava.lang.IllegalStateExceptionpublic void unapply()
unapply in class ResolutionAction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||