|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.draw2d.AbstractLayout
org.eclipse.draw2d.AbstractHintLayout
de.cau.cs.kieler.core.model.gmf.figures.layout.AbstractTableLayout
de.cau.cs.kieler.synccharts.custom.StateLayout
public class StateLayout
This class is an extension of AbstractTableLayout, customized to StateFigure in synccharts.gmfgraph and its ecore model-object.
Nested Class Summary | |
---|---|
static class |
StateLayout.AbstractSyncChartsConfiguration
A container for the class variables. |
Field Summary | |
---|---|
static int |
COND_HEIGHT
minimal height for conditional states. |
static int |
COND_WIDTH
minimal width for conditional states. |
static int |
ENTRYACTIONS
|
static int |
EXITACTIONS
|
static int |
INSIDEACTIONS
|
static int |
INTERFACEDECL
|
static int |
MIN_HEIGHT
minimal height for normal states. |
static int |
MIN_WIDTH
minimal width for normal states. |
static int |
POLYLINE
|
static int |
REGION
|
static int |
SIGNALS
|
static int |
STATELABEL
the layout elements resp. |
static int |
SUSPENDTRIGGER
|
Fields inherited from class org.eclipse.draw2d.AbstractLayout |
---|
isObservingVisibility, preferredSize |
Constructor Summary | |
---|---|
StateLayout()
Creates a state layout. |
Method Summary | |
---|---|
ExtendedTable |
getCorrespondingLayout(IFigure stateFigure)
|
Notifier |
getNotifier()
Getter for the model element. |
void |
setCorrespondingLayout(ExtendedTable layout)
|
void |
setModelElement(Notifier theModelElement)
|
Methods inherited from class de.cau.cs.kieler.core.model.gmf.figures.layout.AbstractTableLayout |
---|
calculateMinimumSize, calculatePreferredSize, checkNewSize, layout |
Methods inherited from class org.eclipse.draw2d.AbstractHintLayout |
---|
getMinimumSize, getPreferredSize, invalidate, isSensitiveHorizontally, isSensitiveVertically |
Methods inherited from class org.eclipse.draw2d.AbstractLayout |
---|
calculatePreferredSize, getBorderPreferredSize, getConstraint, getMinimumSize, getPreferredSize, invalidate, isObservingVisibility, remove, setConstraint, setObserveVisibility |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MIN_HEIGHT
public static final int MIN_WIDTH
public static final int COND_HEIGHT
public static final int COND_WIDTH
public static final int STATELABEL
public static final int POLYLINE
public static final int INTERFACEDECL
public static final int SIGNALS
public static final int ENTRYACTIONS
public static final int INSIDEACTIONS
public static final int EXITACTIONS
public static final int SUSPENDTRIGGER
public static final int REGION
Constructor Detail |
---|
public StateLayout()
modelElementInput
- the model element that will be layoutedMethod Detail |
---|
public Notifier getNotifier()
public ExtendedTable getCorrespondingLayout(IFigure stateFigure)
getCorrespondingLayout
in class AbstractTableLayout
stateFigure
- a state figure
public void setCorrespondingLayout(ExtendedTable layout)
public void setModelElement(Notifier theModelElement)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |