|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.viewmanagement.AEffect
de.cau.cs.kieler.viewmanagement.effects.CompartmentCollapseExpandEffect
public class CompartmentCollapseExpandEffect
This Effect collapses or expands compartments. The execute() method expands while the undo method collapses.
Constructor Summary | |
---|---|
CompartmentCollapseExpandEffect(int theCompartmentLevel)
The compartment level gives the hierarchy to which to search for compartments to collapse. |
Method Summary | |
---|---|
void |
execute()
Abstract method to execute a specific effect. |
void |
setTarget(EditPart target)
Method to set the target of the effect. |
void |
undo()
Undo the effect, i.e. |
Methods inherited from class de.cau.cs.kieler.viewmanagement.AEffect |
---|
getAffectedObject, setParameters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompartmentCollapseExpandEffect(int theCompartmentLevel)
theCompartmentLevel
- hierarchy level. 0 means only exactly the given EditPart.Method Detail |
---|
public void execute()
AEffect
execute
in class AEffect
public void undo()
public void setTarget(EditPart target)
AEffect
setTarget
in class AEffect
target
- the target of the effect
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |