de.cau.cs.kieler.kiml.gmf.combinations
Class LayoutAfterCollapseExpandCombination

java.lang.Object
  extended by de.cau.cs.kieler.core.kivi.AbstractCombination
      extended by de.cau.cs.kieler.kiml.gmf.combinations.LayoutAfterCollapseExpandCombination
All Implemented Interfaces:
ICombination, ITriggerListener

public class LayoutAfterCollapseExpandCombination
extends AbstractCombination

Applies automatic layout after the collapsed state of a compartment of a diagram has changed.

Rating red

Field Summary
 
Fields inherited from class de.cau.cs.kieler.core.kivi.AbstractCombination
FIFTH, FIRST, FOURTH, SECOND, SEVENTH, SIXTH, THIRD
 
Constructor Summary
LayoutAfterCollapseExpandCombination()
           
 
Method Summary
 void execute(ModelChangeTrigger.DiagramChangeState diagramState)
          Apply automatic layout every time the model changed state is updated.
 
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

LayoutAfterCollapseExpandCombination

public LayoutAfterCollapseExpandCombination()
Method Detail

execute

public void execute(ModelChangeTrigger.DiagramChangeState diagramState)
Apply automatic layout every time the model changed state is updated.

Parameters:
diagramState - diagram changed