de.cau.cs.kieler.kiml.ui.diagram
Class LayoutAfterDiagramReinitCombination

java.lang.Object
  extended by de.cau.cs.kieler.core.kivi.AbstractCombination
      extended by de.cau.cs.kieler.kiml.ui.diagram.LayoutAfterDiagramReinitCombination
All Implemented Interfaces:
ICombination, ITriggerListener

public class LayoutAfterDiagramReinitCombination
extends AbstractCombination

This combination triggers an autolayout with the given user preferences when a diagram editor was reinitialized.

Rating red

Field Summary
 
Fields inherited from class de.cau.cs.kieler.core.kivi.AbstractCombination
FIFTH, FIRST, FOURTH, SECOND, SEVENTH, SIXTH, THIRD
 
Constructor Summary
LayoutAfterDiagramReinitCombination()
           
 
Method Summary
 void execute(ReInitDiagramTriggerState trigger)
          Perform the autolayout.
 
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

LayoutAfterDiagramReinitCombination

public LayoutAfterDiagramReinitCombination()
Method Detail

execute

public void execute(ReInitDiagramTriggerState trigger)
Perform the autolayout.

Parameters:
trigger - the trigger