de.cau.cs.kieler.core.model.gmf.effects
Class GmfShowHideEffect
java.lang.Object
de.cau.cs.kieler.core.kivi.AbstractEffect
de.cau.cs.kieler.core.model.effects.ShowHideEffect
de.cau.cs.kieler.core.model.gmf.effects.GmfShowHideEffect
- All Implemented Interfaces:
- IEffect
public class GmfShowHideEffect
- extends ShowHideEffect
An extended show / hide effect that is able to perform the change persistently.
- Rating

Method Summary |
void |
execute()
Execute the effect. |
void |
undo()
Attempt to undo the effect. |
GmfShowHideEffect
public GmfShowHideEffect(IWorkbenchPart editor,
EObject target,
boolean hide,
boolean persistent)
- Create a show / hide effect from an editor and a target object.
- Parameters:
editor
- the editor in which to hide intarget
- the object to hide or revealhide
- if true the target will be hidden, if false target will be visible againpersistent
- true if highlighting should be persistent
execute
public void execute()
- Execute the effect.
- Specified by:
execute
in interface IEffect
- Overrides:
execute
in class ShowHideEffect
undo
public void undo()
- Attempt to undo the effect.
- Specified by:
undo
in interface IEffect
- Overrides:
undo
in class ShowHideEffect