de.cau.cs.kieler.synccharts.kivi
Class ManualFocusCombination

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

public class ManualFocusCombination
extends AbstractCombination

A Kieler Viewmanagement Combination that lets the user manually select a focus in a diagram and then configures Focus&Context accordingly by collapsing and expanding compartments. Elements in the focus are shown with most details and elements in the context with the least details, e.g. their compartments get collapsed. Zoom buttons allow to change the hierarchy level for which the contents of the focus should be shown.

Rating red

Field Summary
 
Fields inherited from class de.cau.cs.kieler.core.kivi.AbstractCombination
FIFTH, FIRST, FOURTH, SECOND, SEVENTH, SIXTH, THIRD
 
Constructor Summary
ManualFocusCombination()
          Default Constructor defining some Buttons.
 
Method Summary
 void execute(ButtonTrigger.ButtonState button, SelectionTrigger.DiagramSelectionState selection, DiagramTrigger.DiagramState diagram)
          Main Combination logic.
 
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

ManualFocusCombination

public ManualFocusCombination()
Default Constructor defining some Buttons.

Method Detail

execute

public void execute(ButtonTrigger.ButtonState button,
                    SelectionTrigger.DiagramSelectionState selection,
                    DiagramTrigger.DiagramState diagram)
Main Combination logic.

Parameters:
button - listens to ButtonTriggers
selection - listens to a SelectionTrigger
diagram - listens to a DiagramTrigger