|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.core.kivi.AbstractCombination
de.cau.cs.kieler.kiml.ui.diagram.LayoutCombination
public class LayoutCombination
Performs automatic layout when the button or key combination is pressed.
Field Summary | |
---|---|
static String |
ANIMATE
parameter id for animation. |
static String |
PARAM_LAYOUT_SCOPE
parameter identifier for the scope of automatic layout. |
static String |
PROGRESS_BAR
parameter id for progress bar. |
static String |
VAL_DIAGRAM
parameter value for diagram scope. |
static String |
VAL_SELECTION
parameter value for selection scope. |
static String |
ZOOM_TO_FIT
parameter id for zoom to fit. |
Fields inherited from class de.cau.cs.kieler.core.kivi.AbstractCombination |
---|
FIFTH, FIRST, FOURTH, SECOND, SEVENTH, SIXTH, THIRD |
Constructor Summary | |
---|---|
LayoutCombination()
|
Method Summary | |
---|---|
void |
execute(ButtonTrigger.ButtonState button,
SelectionTrigger.DiagramSelectionState selection)
Listen to view management buttons and the current selection. |
static CombinationParameter<?>[] |
getParameters()
Get the parameters for the layout combination. |
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 |
Field Detail |
---|
public static final String ANIMATE
public static final String ZOOM_TO_FIT
public static final String PROGRESS_BAR
public static final String PARAM_LAYOUT_SCOPE
public static final String VAL_DIAGRAM
public static final String VAL_SELECTION
Constructor Detail |
---|
public LayoutCombination()
Method Detail |
---|
public static CombinationParameter<?>[] getParameters()
public void execute(ButtonTrigger.ButtonState button, SelectionTrigger.DiagramSelectionState selection)
button
- the trigger state for view management buttonsselection
- the trigger state for the current selection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |