de.cau.cs.kieler.synccharts.diagram.custom
Class HighlightSelectedTransitionsCombination

java.lang.Object
  extended by de.cau.cs.kieler.core.kivi.AbstractCombination
      extended by de.cau.cs.kieler.synccharts.diagram.custom.HighlightSelectedTransitionsCombination
All Implemented Interfaces:
ICombination, ITriggerListener

public class HighlightSelectedTransitionsCombination
extends AbstractCombination

Highlight selected transitions in SyncCharts.

Rating red

Field Summary
 
Fields inherited from class de.cau.cs.kieler.core.kivi.AbstractCombination
FIFTH, FIRST, FOURTH, SECOND, SEVENTH, SIXTH, THIRD
 
Constructor Summary
HighlightSelectedTransitionsCombination()
           
 
Method Summary
 void execute(SelectionTrigger.DiagramSelectionState selection)
          Execute the combination when a new selection state is available.
 
Methods inherited from class de.cau.cs.kieler.core.kivi.AbstractCombination
enableEffectRecording, getEffects, getTriggerStates, handle, isActive, latestState, latestStateIndex, schedule, schedule, setActive, toString, undo, undoRecordedEffects
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HighlightSelectedTransitionsCombination

public HighlightSelectedTransitionsCombination()
Method Detail

execute

public void execute(SelectionTrigger.DiagramSelectionState selection)
Execute the combination when a new selection state is available. FIXME selecting a transition during simulation can mess up the original color of the transition because two different highlight effects are working on the same object. Essentially the second highlight effect takes the first highlight effect's highlight color as original color.

Parameters:
selection - the current selection