|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.core.kivi.AbstractEffect
de.cau.cs.kieler.synccharts.kivi.ArrowEffect
public class ArrowEffect
Draws a transient arrow from source to target edit part.
Constructor Summary | |
---|---|
ArrowEffect()
Default constructor. |
|
ArrowEffect(EObject s,
EObject t,
Color c,
boolean connectionLayer)
Create a new arrow effect for the given source and target EObject. |
Method Summary | |
---|---|
void |
execute()
Execute the effect. |
boolean |
isMergeable()
Determines whether this effect can be merged with previously scheduled effects. |
IEffect |
merge(IEffect other)
Merge this effect with another effect. |
void |
undo()
Attempt to undo the effect. |
Methods inherited from class de.cau.cs.kieler.core.kivi.AbstractEffect |
---|
schedule, scheduleUndo, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ArrowEffect()
public ArrowEffect(EObject s, EObject t, Color c, boolean connectionLayer)
s
- the source EObjectt
- the target EObjectc
- the color to paint the arrow withconnectionLayer
- true if the connection layer shall be used for drawing on instead of the figure of
the source's parentMethod Detail |
---|
public void execute()
public void undo()
undo
in interface IEffect
undo
in class AbstractEffect
public boolean isMergeable()
AbstractEffect
isMergeable
in interface IEffect
isMergeable
in class AbstractEffect
public IEffect merge(IEffect other)
AbstractEffect
merge
in interface IEffect
merge
in class AbstractEffect
other
- the effect to merge with
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |