SysML

org.topcased.modeler.sysml.internalblockdiagram.figures
Class PortFigure

java.lang.Object
  extended by org.topcased.draw2d.figures.PortFigure
      extended by org.topcased.modeler.sysml.internalblockdiagram.figures.PortFigure
Direct Known Subclasses:
FlowPortFigure

public class PortFigure
extends org.topcased.draw2d.figures.PortFigure

** Generated **

Field Summary
static int IN_OUT_PORT
          Parameter value to represent an input/ouput port
static int IN_PORT
          Parameter value to represent an input port
static int OUT_PORT
          Parameter value to represent an ouput port
 
Constructor Summary
PortFigure()
          Constructor
 
Method Summary
protected  void fillShape(org.eclipse.draw2d.Graphics graphics)
          Draw the port
 ILabel getLabel()
           
 org.eclipse.draw2d.geometry.Dimension getPreferredSize(int wHint, int hHint)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IN_PORT

public static final int IN_PORT
Parameter value to represent an input port

See Also:
Constant Field Values

OUT_PORT

public static final int OUT_PORT
Parameter value to represent an ouput port

See Also:
Constant Field Values

IN_OUT_PORT

public static final int IN_OUT_PORT
Parameter value to represent an input/ouput port

See Also:
Constant Field Values
Constructor Detail

PortFigure

public PortFigure()
Constructor

** Generated **
NOT
Method Detail

getPreferredSize

public org.eclipse.draw2d.geometry.Dimension getPreferredSize(int wHint,
                                                              int hHint)

See Also:
IFigure.getPreferredSize(int, int)

getLabel

public ILabel getLabel()
See Also:
org.topcased.draw2d.figures.ILabelFigure#getLabel()
** Generated **

fillShape

protected void fillShape(org.eclipse.draw2d.Graphics graphics)
Draw the port

Parameters:
graphics -

SysML

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.