SysML

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

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
Direct Known Subclasses:
BlockPropertyEditPart, PortEditPart

public class PropertyEditPart
extends NamedElementEditPart

The Property object controller

** Generated **

Constructor Summary
PropertyEditPart(GraphNode obj)
          Constructor
 
Method Summary
 void activate()
           
protected  void append(java.lang.StringBuffer text, java.lang.String fragment)
           
protected  void createEditPolicies()
          Creates edit policies and associates these with roles
protected  org.eclipse.draw2d.IFigure createFigure()
           
 void deactivate()
           
protected  java.lang.String getPropertyPrefix(org.eclipse.uml2.uml.Property property)
           
protected  java.lang.String getPropertySuffix(org.eclipse.uml2.uml.Property property)
           
protected  void handleModelChanged(Notification msg)
           
protected  void refreshHeaderLabel()
          Set the name of the property with it's type and the stereotypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyEditPart

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

createFigure

protected org.eclipse.draw2d.IFigure createFigure()

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

refreshHeaderLabel

protected void refreshHeaderLabel()
Set the name of the property with it's type and the stereotypes

See Also:
org.topcased.modeler.edit.EMFGraphNodeEditPart#refreshHeaderLabel()

getPropertyPrefix

protected java.lang.String getPropertyPrefix(org.eclipse.uml2.uml.Property property)

getPropertySuffix

protected java.lang.String getPropertySuffix(org.eclipse.uml2.uml.Property property)

append

protected void append(java.lang.StringBuffer text,
                      java.lang.String fragment)

handleModelChanged

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

activate

public void activate()
See Also:
org.topcased.modeler.edit.EMFGraphNodeEditPart#activate()

deactivate

public void deactivate()
See Also:
org.topcased.modeler.edit.EMFGraphNodeEditPart#deactivate()

SysML

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