|
SysML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.topcased.draw2d.figures.PortFigure
org.topcased.modeler.sysml.blockdefinitiondiagram.figures.PortFigure
org.topcased.modeler.sysml.blockdefinitiondiagram.figures.FlowPortFigure
public class FlowPortFigure
| Field Summary |
|---|
| Fields inherited from class org.topcased.modeler.sysml.blockdefinitiondiagram.figures.PortFigure |
|---|
IN_OUT_PORT, IN_PORT, OUT_PORT |
| Constructor Summary | |
|---|---|
FlowPortFigure()
Constructor |
|
| Method Summary | |
|---|---|
protected void |
fillShape(org.eclipse.draw2d.Graphics graphics)
Draw the figure that should represent the Port. |
protected void |
paintHorizontalNonAtomicPort(org.eclipse.draw2d.Graphics graphics)
Draw a non atomic flow port when its position is on the left or right border of the container |
protected void |
paintInOutPort(org.eclipse.draw2d.Graphics graphics)
Paint an InOutPort |
protected void |
paintInOutPortAtBottom(org.eclipse.draw2d.Graphics graphics)
Draw an input/ouput port when its position is on the bottom border of the container |
protected void |
paintInOutPortAtLeft(org.eclipse.draw2d.Graphics graphics)
Draw an input/ouput port when its position is on the left border of the container |
protected void |
paintInOutPortAtTop(org.eclipse.draw2d.Graphics graphics)
Draw an input/ouput port when its position is on the top border of the container |
protected void |
paintInPort(org.eclipse.draw2d.Graphics graphics)
Paint an InPort |
protected void |
paintNonAtomicFlowPort(org.eclipse.draw2d.Graphics graphics)
Draw a non atomic flow port according its position |
protected void |
paintOutPort(org.eclipse.draw2d.Graphics graphics)
Paint an OutPort |
protected void |
paintPortBottom(org.eclipse.draw2d.Graphics graphics)
Draw an input port when its position is on the bottom border of the container |
protected void |
paintPortLeft(org.eclipse.draw2d.Graphics graphics)
Draw an input port when its position is on the left border of the container |
protected void |
paintPortRight(org.eclipse.draw2d.Graphics graphics)
Draw an input port when its position is on the right border of the container |
protected void |
paintPortTop(org.eclipse.draw2d.Graphics graphics)
Draw an input port when its position is on the top border of the container |
protected void |
paintVerticalNonAtomicPort(org.eclipse.draw2d.Graphics graphics)
Draw a non atomic flow port when its position is on the top or left border of the container |
void |
setDirection(int portDirection)
Change the direction of the port (in, out or in/out port) |
void |
setIsAtomic(boolean atomic)
Change port atomicity |
void |
setIsConjugated(boolean conjugated)
Change port conjugation |
| Methods inherited from class org.topcased.modeler.sysml.blockdefinitiondiagram.figures.PortFigure |
|---|
getLabel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FlowPortFigure()
| Method Detail |
|---|
public void setDirection(int portDirection)
portDirection - the new direction of the portpublic void setIsAtomic(boolean atomic)
atomic - true if the port is atomicpublic void setIsConjugated(boolean conjugated)
conjugated - true if the port is conjugatedprotected void fillShape(org.eclipse.draw2d.Graphics graphics)
fillShape in class PortFiguregraphics - protected void paintInPort(org.eclipse.draw2d.Graphics graphics)
graphics - protected void paintOutPort(org.eclipse.draw2d.Graphics graphics)
graphics - protected void paintInOutPort(org.eclipse.draw2d.Graphics graphics)
graphics - protected void paintPortLeft(org.eclipse.draw2d.Graphics graphics)
graphics - protected void paintPortBottom(org.eclipse.draw2d.Graphics graphics)
graphics - protected void paintPortRight(org.eclipse.draw2d.Graphics graphics)
graphics - protected void paintPortTop(org.eclipse.draw2d.Graphics graphics)
graphics - protected void paintInOutPortAtLeft(org.eclipse.draw2d.Graphics graphics)
graphics - protected void paintInOutPortAtTop(org.eclipse.draw2d.Graphics graphics)
graphics - protected void paintInOutPortAtBottom(org.eclipse.draw2d.Graphics graphics)
graphics - protected void paintNonAtomicFlowPort(org.eclipse.draw2d.Graphics graphics)
graphics - protected void paintHorizontalNonAtomicPort(org.eclipse.draw2d.Graphics graphics)
graphics - protected void paintVerticalNonAtomicPort(org.eclipse.draw2d.Graphics graphics)
graphics -
|
SysML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.