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

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

public class TextualRepresentationEffect
extends AEffect

Rating red

Constructor Summary
TextualRepresentationEffect()
          default constructor, the effect is initalized here
 
Method Summary
 void execute()
          Abstract method to execute a specific effect.
 void setParameters(Object parameters)
          Method to set the parameters of an 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextualRepresentationEffect

public TextualRepresentationEffect()
default constructor, the effect is initalized here

Method Detail

execute

public final void execute()
Description copied from class: AEffect
Abstract method to execute a specific effect. Must be implemented by the developer of the effect. Here, you will have to implement the exact behaviour of the effect.

Specified by:
execute in class AEffect

undo

public final void undo()
Undo the effect. Here the effect will be removed.


setTarget

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

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

setParameters

public final void setParameters(Object parameters)
Description copied from class: AEffect
Method to set the parameters of an effect. This may be used to transport additional information such as text to be displayed in an effect, parameters for the visual appearance of the effect, e.g. line width, colors and so on.

Overrides:
setParameters in class AEffect
Parameters:
parameters - the parameters