SysML

org.topcased.modeler.sysml.blockdefinitiondiagram.edit
Class FlowPortEditPart

java.lang.Object
  extended by org.topcased.modeler.edit.PortEditPart
      extended by org.topcased.modeler.sysml.blockdefinitiondiagram.edit.PortEditPart
          extended by org.topcased.modeler.sysml.blockdefinitiondiagram.edit.FlowPortEditPart

public class FlowPortEditPart
extends PortEditPart

The FlowPort object controller

** Generated **

Field Summary
 
Fields inherited from class org.topcased.modeler.sysml.blockdefinitiondiagram.edit.PortEditPart
_providedFigure, _requiredFigure
 
Constructor Summary
FlowPortEditPart(GraphNode obj)
          Constructor
 
Method Summary
protected  void createEditPolicies()
          Creates edit policies and associates these with roles
protected  org.eclipse.draw2d.IFigure createFigure()
           
 FlowPort getModelFlowPort()
          Return the FlowPort model object
protected  void refreshVisuals()
           
 void updatePortAtomicity()
          Update port atomicity
 void updatePortConjugation()
          Update port conjugation
protected  void updatePortDirection()
          Update port direction
 
Methods inherited from class org.topcased.modeler.sysml.blockdefinitiondiagram.edit.PortEditPart
activate, deactivate, getModelPort, handleModelChanged, refreshProvidedInterfaces, refreshProvidedInterfacesNames, refreshRequiredInterfaces, refreshRequiredInterfacesNames
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlowPortEditPart

public FlowPortEditPart(GraphNode obj)
Constructor

Parameters:
obj - the graph node
** Generated **
Method Detail

createEditPolicies

protected void createEditPolicies()
Creates edit policies and associates these with roles

Overrides:
createEditPolicies in class PortEditPart
** Generated **

createFigure

protected org.eclipse.draw2d.IFigure createFigure()

Overrides:
createFigure in class PortEditPart
See Also:
org.eclipse.gef.editparts.AbstractGraphicalEditPart#createFigure()
** Generated **

getModelFlowPort

public FlowPort getModelFlowPort()
Return the FlowPort model object

Returns:
the FlowPort model object

refreshVisuals

protected void refreshVisuals()

Overrides:
refreshVisuals in class PortEditPart
See Also:
org.eclipse.gef.editparts.AbstractEditPart#refreshVisuals()
** Generated **
NOT

updatePortDirection

protected void updatePortDirection()
Update port direction


updatePortAtomicity

public void updatePortAtomicity()
Update port atomicity


updatePortConjugation

public void updatePortConjugation()
Update port conjugation


SysML

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