de.cau.cs.kieler.synccharts.diagram.custom
Class HighlightSelectedTransitionsCombination
java.lang.Object
de.cau.cs.kieler.core.kivi.AbstractCombination
de.cau.cs.kieler.synccharts.diagram.custom.HighlightSelectedTransitionsCombination
- All Implemented Interfaces:
- ICombination, ITriggerListener
public class HighlightSelectedTransitionsCombination
- extends AbstractCombination
Highlight selected transitions in SyncCharts.
- Rating

Methods inherited from class de.cau.cs.kieler.core.kivi.AbstractCombination |
enableEffectRecording, getEffects, getTriggerStates, handle, isActive, latestState, latestStateIndex, schedule, schedule, setActive, toString, undo, undoRecordedEffects |
HighlightSelectedTransitionsCombination
public HighlightSelectedTransitionsCombination()
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