de.cau.cs.kieler.karma
Interface IRenderingProvider

All Known Implementing Classes:
KaomFigureProvider, KaomPortProvider, KEGFigureProvider, SyncchartsConnectionFigureProvider, SyncchartsFigureProvider

public interface IRenderingProvider

Class for providing figures represented by a string.

Rating red

Method Summary
 IBorderItemLocator getBorderItemLocatorByString(String input, IFigure parentFigure, Object locator, EObject object)
          Method that returns a BorderItemLocator according to a given string.
 IFigure getFigureByString(String input, IFigure oldFigure, EObject object, EditPart part)
          Method that returns a figure according to a given string.
 LayoutManager getLayoutManagerByString(String input, LayoutManager oldLayoutManager, EObject object)
          Method that returns a LayoutManager according to a given string.
 

Method Detail

getFigureByString

IFigure getFigureByString(String input,
                          IFigure oldFigure,
                          EObject object,
                          EditPart part)
Method that returns a figure according to a given string.

Parameters:
input - a string representation of the figure
oldFigure - the old figure
object - the model element
part - the corresponding editPart
Returns:
the figure

getLayoutManagerByString

LayoutManager getLayoutManagerByString(String input,
                                       LayoutManager oldLayoutManager,
                                       EObject object)
Method that returns a LayoutManager according to a given string.

Parameters:
input - a string representation of the LayoutManager
oldLayoutManager - the old LayoutManager
object - the model element
Returns:
the new LayoutManager

getBorderItemLocatorByString

IBorderItemLocator getBorderItemLocatorByString(String input,
                                                IFigure parentFigure,
                                                Object locator,
                                                EObject object)
Method that returns a BorderItemLocator according to a given string.

Parameters:
input - a string representation of the BorderItemLocator
parentFigure - the parentFigure
locator - the old BorderItemLocator
object - the model element
Returns:
the new BorderItemLocator