SysML

org.topcased.modeler.sysml.internalblockdiagram.edit
Class PortEditPart

java.lang.Object
  extended by EMFGraphNodeEditPart
      extended by org.topcased.modeler.sysml.internalblockdiagram.edit.ElementEditPart
          extended by org.topcased.modeler.sysml.internalblockdiagram.edit.NamedElementEditPart
              extended by org.topcased.modeler.sysml.internalblockdiagram.edit.PropertyEditPart
                  extended by org.topcased.modeler.sysml.internalblockdiagram.edit.PortEditPart
Direct Known Subclasses:
FlowPortEditPart

public class PortEditPart
extends PropertyEditPart

The Port object controller

** Generated **

Field Summary
protected  PortProvidedInterfaceFigure _providedFigure
           
protected  PortRequiredInterfaceFigure _requiredFigure
           
 
Constructor Summary
PortEditPart(GraphNode obj)
          Constructor
 
Method Summary
 void activate()
           
protected  void createEditPolicies()
          Creates edit policies and associates these with roles
protected  org.eclipse.draw2d.IFigure createFigure()
           
 void deactivate()
           
protected  void handleModelChanged(Notification msg)
           
protected  void refreshHeaderLabel()
          Set the name of the property with it's type and the stereotypes
protected  void refreshProvidedInterfaces()
           
 void refreshProvidedInterfacesNames()
           
protected  void refreshRequiredInterfaces()
           
 void refreshRequiredInterfacesNames()
           
protected  void refreshVisuals()
           
 
Methods inherited from class org.topcased.modeler.sysml.internalblockdiagram.edit.PropertyEditPart
append, getPropertyPrefix, getPropertySuffix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_providedFigure

protected PortProvidedInterfaceFigure _providedFigure

_requiredFigure

protected PortRequiredInterfaceFigure _requiredFigure
Constructor Detail

PortEditPart

public PortEditPart(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 PropertyEditPart
** Generated **
NOT

createFigure

protected org.eclipse.draw2d.IFigure createFigure()

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

activate

public void activate()
Overrides:
activate in class PropertyEditPart
See Also:
EditPart.activate()

deactivate

public void deactivate()
Overrides:
deactivate in class PropertyEditPart
See Also:
EditPart.deactivate()

handleModelChanged

protected void handleModelChanged(Notification msg)
Overrides:
handleModelChanged in class PropertyEditPart
See Also:
org.topcased.modeler.edit.EMFGraphNodeEditPart#handleModelChanged(org.eclipse.emf.common.notify.Notification)

refreshHeaderLabel

protected void refreshHeaderLabel()
Description copied from class: PropertyEditPart
Set the name of the property with it's type and the stereotypes

Overrides:
refreshHeaderLabel in class PropertyEditPart
See Also:
org.topcased.modeler.edit.PortEditPart#refreshHeaderLabel()

refreshVisuals

protected void refreshVisuals()

See Also:
org.eclipse.gef.editparts.AbstractEditPart#refreshVisuals()

refreshProvidedInterfaces

protected void refreshProvidedInterfaces()

refreshRequiredInterfaces

protected void refreshRequiredInterfaces()

refreshProvidedInterfacesNames

public void refreshProvidedInterfacesNames()

refreshRequiredInterfacesNames

public void refreshRequiredInterfacesNames()

SysML

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