|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.kaom.karma.ptolemy.renderingprovider.KaomRenderingProvider
public class KaomRenderingProvider
Karma rendering provider for rendering ptolemy diagrams in kaom.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface de.cau.cs.kieler.karma.IRenderingProvider |
---|
IRenderingProvider.CollapseStatus |
Constructor Summary | |
---|---|
KaomRenderingProvider()
|
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 |
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 |
Constructor Detail |
---|
public KaomRenderingProvider()
Method Detail |
---|
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 |