de.cau.cs.kieler.kaom.karma.ptolemy
Class KaomPortProvider

java.lang.Object
  extended by de.cau.cs.kieler.kaom.karma.ptolemy.KaomPortProvider
All Implemented Interfaces:
IRenderingProvider

public class KaomPortProvider
extends Object
implements IRenderingProvider

Rating red

Constructor Summary
KaomPortProvider()
           
 
Method Summary
 org.eclipse.gmf.runtime.diagram.ui.figures.BorderItemLocator getBorderItemLocatorByString(String input, IFigure parentFigure, Object locator, EObject object)
          Method that returns a BorderItemLocator according to a given string.
 IFigure getDefaultFigure()
          
 LayoutManager getDefaultLayoutManager()
          
 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.
 NodeFigure getNodePlateByString(String input, EObject object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KaomPortProvider

public KaomPortProvider()
Method Detail

getFigureByString

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

Specified by:
getFigureByString in interface IRenderingProvider
Parameters:
input - a string representation of the figure
oldFigure - the old figure
object - the model element
part - the corresponding editPart
Returns:
the figure

getDefaultFigure

public IFigure getDefaultFigure()


getLayoutManagerByString

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

Specified by:
getLayoutManagerByString in interface IRenderingProvider
Parameters:
input - a string representation of the LayoutManager
oldLayoutManager - the old LayoutManager
object - 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 parentFigure,
                                                                                                 Object locator,
                                                                                                 EObject object)
Method that returns a BorderItemLocator according to a given string.

Specified by:
getBorderItemLocatorByString in interface IRenderingProvider
Parameters:
input - a string representation of the BorderItemLocator
parentFigure - the parentFigure
locator - the old BorderItemLocator
object - the model element
Returns:
the new BorderItemLocator

getNodePlateByString

public NodeFigure getNodePlateByString(String input,
                                       EObject object)