de.cau.cs.kieler.viewmanagement.effects
Class FilterEffect

java.lang.Object
  extended by de.cau.cs.kieler.viewmanagement.AEffect
      extended by de.cau.cs.kieler.viewmanagement.effects.FilterEffect

public class FilterEffect
extends AEffect

The filter effect hides the affected object.

Rating red

Constructor Summary
FilterEffect()
          default constructor, nothing to be done here
 
Method Summary
 void execute()
          executes the filter effect.
 void setTarget(EditPart target)
          Sets the target of the effect.
 void undo()
          Undo the effect.
 
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

FilterEffect

public FilterEffect()
default constructor, nothing to be done here

Method Detail

execute

public final void execute()
executes the filter effect. Will get the figure of objectToFilter and set it to invisible.

Specified by:
execute in class AEffect

undo

public final void undo()
Undo the effect.


setTarget

public final void setTarget(EditPart target)
Sets the target of the effect.

Overrides:
setTarget in class AEffect
Parameters:
target - the target