|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.synccharts.custom.SyncchartsFigureProvider
public class SyncchartsFigureProvider
This class provides figures for the graphical synccharts representation.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface de.cau.cs.kieler.karma.IRenderingProvider |
---|
IRenderingProvider.CollapseStatus |
Field Summary | |
---|---|
static int |
ENTRYACTIONS
|
static int |
EXITACTIONS
|
static int |
INSIDEACTIONS
|
static int |
INTERFACEDECL
|
static int |
POLYLINE
|
static int |
REGION
|
static int |
SIGNALS
|
static int |
STATELABEL
the layout elements resp. |
static int |
SUSPENDTRIGGER
|
Constructor Summary | |
---|---|
SyncchartsFigureProvider()
|
Method Summary | |
---|---|
org.eclipse.gmf.runtime.diagram.ui.figures.BorderItemLocator |
getBorderItemLocatorByString(String input,
IFigure parent,
Object locator,
EObject object,
IRenderingProvider.CollapseStatus collapseStatus)
Returns a BorderItemLocator according to a given string. |
IFigure |
getDefaultFigure()
|
IFigure |
getFigureByString(String input,
IFigure oldFigure,
EObject object,
EditPart part)
Returns a figure according to a given string. |
LayoutManager |
getLayoutManagerByString(String input,
LayoutManager oldLayoutManager,
EObject object)
Returns a LayoutManager according to a given string. |
Dimension |
getSizeByString(String input,
EObject object,
EditPart part)
Returns the size of a figure according to a given string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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 SyncchartsFigureProvider()
Method Detail |
---|
public IFigure getDefaultFigure()
public IFigure getFigureByString(String input, IFigure oldFigure, EObject object, EditPart part)
getFigureByString
in interface IRenderingProvider
input
- a string representation of the figureoldFigure
- the old figureobject
- the model elementpart
- the corresponding editPart
public LayoutManager getLayoutManagerByString(String input, LayoutManager oldLayoutManager, EObject object)
getLayoutManagerByString
in interface IRenderingProvider
input
- a string representation of the LayoutManageroldLayoutManager
- the old LayoutManagerobject
- the model element
public org.eclipse.gmf.runtime.diagram.ui.figures.BorderItemLocator getBorderItemLocatorByString(String input, IFigure parent, Object locator, EObject object, IRenderingProvider.CollapseStatus collapseStatus)
getBorderItemLocatorByString
in interface IRenderingProvider
input
- a string representation of the BorderItemLocatorparent
- the parentFigurelocator
- the old BorderItemLocatorobject
- the model element
public Dimension getSizeByString(String input, EObject object, EditPart part)
null
.
The string input is the same as the one for
getFigureByString
.
getSizeByString
in interface IRenderingProvider
input
- a string representation of the figureobject
- the model elementpart
- the corresponding editPart
null
if no fixed size shall be set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |