de.cau.cs.kieler.viewmanagement.combination
Class ManualLayoutCombination

java.lang.Object
  extended by de.cau.cs.kieler.viewmanagement.ACombination
      extended by de.cau.cs.kieler.viewmanagement.combination.ManualLayoutCombination
All Implemented Interfaces:
ITriggerListener, EventListener

public class ManualLayoutCombination
extends ACombination

haf: added Zoom to fit effect

Rating red

Constructor Summary
ManualLayoutCombination()
           
 
Method Summary
 boolean evaluate(TriggerEventObject triggerEvent)
          Evaluates a trigger event
 void execute()
          Executes the combination by starting the effect
 List<ATrigger> getTriggers()
          Returns the list of triggers
 void undoEffects()
          Undo the last effect, this is unused because the 'undo' is done by the layout command framework
 
Methods inherited from class de.cau.cs.kieler.viewmanagement.ACombination
finalize, getEditPart, getRootEPAsParent, initialize, isActive, notifyTrigger, resetHashedEditParts, setActive, translateToEditPart
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManualLayoutCombination

public ManualLayoutCombination()
Method Detail

evaluate

public boolean evaluate(TriggerEventObject triggerEvent)
Evaluates a trigger event

Specified by:
evaluate in class ACombination
Parameters:
triggerEvent - delivered by a trigger, contains necessary information for the combination
Returns:
true if combination should be executed, false otherwise.

execute

public void execute()
Executes the combination by starting the effect

Specified by:
execute in class ACombination

getTriggers

public List<ATrigger> getTriggers()
Returns the list of triggers

Specified by:
getTriggers in class ACombination
Returns:
List of triggers to be observed

undoEffects

public void undoEffects()
Undo the last effect, this is unused because the 'undo' is done by the layout command framework

Overrides:
undoEffects in class ACombination