de.cau.cs.kieler.synccharts.custom
Class SyncchartsConnectionFigureProvider
java.lang.Object
de.cau.cs.kieler.synccharts.custom.SyncchartsConnectionFigureProvider
- All Implemented Interfaces:
- IRenderingProvider
public class SyncchartsConnectionFigureProvider
- extends Object
- implements IRenderingProvider
- Rating

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()
|
LayoutManager |
getDefaultLayoutManager()
|
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 |
SyncchartsConnectionFigureProvider
public SyncchartsConnectionFigureProvider()
getFigureByString
public IFigure getFigureByString(String input,
IFigure oldFigure,
EObject object,
EditPart part)
- Returns a figure according to a given string.
- Specified by:
getFigureByString
in interface IRenderingProvider
- Parameters:
input
- a string representation of the figureoldFigure
- the old figureobject
- the model elementpart
- the corresponding editPart
- Returns:
- the figure
getDefaultFigure
public IFigure getDefaultFigure()
-
getLayoutManagerByString
public LayoutManager getLayoutManagerByString(String input,
LayoutManager oldLayoutManager,
EObject object)
- Description copied from interface:
IRenderingProvider
- Returns a LayoutManager according to a given string.
- Specified by:
getLayoutManagerByString
in interface IRenderingProvider
- Parameters:
input
- a string representation of the LayoutManageroldLayoutManager
- the old LayoutManagerobject
- the model element
- Returns:
- the new LayoutManager
getDefaultLayoutManager
public LayoutManager getDefaultLayoutManager()
getBorderItemLocatorByString
public org.eclipse.gmf.runtime.diagram.ui.figures.BorderItemLocator getBorderItemLocatorByString(String input,
IFigure parent,
Object locator,
EObject object,
IRenderingProvider.CollapseStatus collapseStatus)
- Description copied from interface:
IRenderingProvider
- Returns a BorderItemLocator according to a given string.
- Specified by:
getBorderItemLocatorByString
in interface IRenderingProvider
- Parameters:
input
- a string representation of the BorderItemLocatorparent
- the parentFigurelocator
- the old BorderItemLocatorobject
- the model element
- Returns:
- the new BorderItemLocator
getSizeByString
public Dimension getSizeByString(String input,
EObject object,
EditPart part)
- Returns the size of a figure according to a given string. The fixed size given in the
extension point has priority over the one given here. If no fixed size shall be set or
the fixed size is defined in the plugin extension, this method returns
null
.
The string input is the same as the one for
getFigureByString
.
- Specified by:
getSizeByString
in interface IRenderingProvider
- Parameters:
input
- a string representation of the figureobject
- the model elementpart
- the corresponding editPart
- Returns:
- the fixed size, or
null
if no fixed size shall be set