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

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

public class SelectionExpandCombination
extends ACombination

Rating red

Constructor Summary
SelectionExpandCombination()
           
 
Method Summary
 boolean evaluate(TriggerEventObject triggerEvent)
          Abstract method to evaluate certain conditions chosen by the developer that should delay or trigger the execution of the combination.
 void execute()
          Abstract method to execute the combination.
 List<ATrigger> getTriggers()
          Abstract method that returns the triggers that are of importance for this combination.
 
Methods inherited from class de.cau.cs.kieler.viewmanagement.ACombination
finalize, getEditPart, getRootEPAsParent, initialize, isActive, notifyTrigger, resetHashedEditParts, setActive, translateToEditPart, undoEffects
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectionExpandCombination

public SelectionExpandCombination()
Method Detail

getTriggers

public final List<ATrigger> getTriggers()
Description copied from class: ACombination
Abstract method that returns the triggers that are of importance for this combination. Will be used when initializing or finalizing the combination and then register it as listeners to the triggers returned in the list.

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

evaluate

public final boolean evaluate(TriggerEventObject triggerEvent)
Description copied from class: ACombination
Abstract method to evaluate certain conditions chosen by the developer that should delay or trigger the execution of the combination.

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 final void execute()
Description copied from class: ACombination
Abstract method to execute the combination. Creation of desired effects and their setup is to be done here.

Specified by:
execute in class ACombination