public class Parameters
extends java.lang.Object
LayoutConfiguration
attribute,
which is attached to composite entities when the configuration dialog is opened.LayoutConfiguration
Red (msp) |
Red (msp) |
Modifier and Type | Field and Description |
---|---|
static de.cau.cs.kieler.core.properties.IProperty<java.lang.Float> |
ASPECT_RATIO
Layout option for the aspect ratio of connected components.
|
static de.cau.cs.kieler.core.properties.IProperty<java.lang.Boolean> |
DECORATIONS
Layout option that determines whether decoration nodes are included in layout.
|
static de.cau.cs.kieler.core.properties.IProperty<java.lang.Float> |
SPACING
Layout option for the overall spacing between elements.
|
Constructor and Description |
---|
Parameters(CompositeEntity compositeEntity)
Create a parameters instance.
|
Modifier and Type | Method and Description |
---|---|
void |
configureLayout(de.cau.cs.kieler.kiml.klayoutdata.KShapeLayout parentLayout,
GraphModel graphModel)
Configure the KIELER layout using a property holder.
|
public static final de.cau.cs.kieler.core.properties.IProperty<java.lang.Boolean> DECORATIONS
public static final de.cau.cs.kieler.core.properties.IProperty<java.lang.Float> SPACING
public static final de.cau.cs.kieler.core.properties.IProperty<java.lang.Float> ASPECT_RATIO
public Parameters(CompositeEntity compositeEntity)
compositeEntity
- the composite entity for which parameters are retrieved.public void configureLayout(de.cau.cs.kieler.kiml.klayoutdata.KShapeLayout parentLayout, GraphModel graphModel) throws IllegalActionException
parentLayout
- the layout of the parent nodegraphModel
- the graph model of the current diagramIllegalActionException
- if one of the parameters has the wrong type