SysML

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

java.lang.Object
  extended by EMFGraphNodeEditPart
      extended by org.topcased.modeler.sysml.blockdefinitiondiagram.edit.ElementEditPart
          extended by org.topcased.modeler.sysml.blockdefinitiondiagram.edit.PropertyEditPart
Direct Known Subclasses:
BlockPropertyEditPart, FlowPropertyEditPart

public class PropertyEditPart
extends ElementEditPart

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 getConstraintText(org.eclipse.uml2.uml.Property property)
           
protected  java.lang.String getOrderedText(org.eclipse.uml2.uml.Property property)
           
protected  java.lang.String getPropertyModifiersText(org.eclipse.uml2.uml.Property property)
           
protected  java.lang.String getPropertyPrefix(org.eclipse.uml2.uml.Property property)
           
protected  java.lang.String getPropertySuffix(org.eclipse.uml2.uml.Property property)
           
protected  java.lang.String getReadonlyText(org.eclipse.uml2.uml.Property property)
           
protected  java.lang.String getRedefinesText(org.eclipse.uml2.uml.Property property)
           
protected  java.lang.String getSubsetsText(org.eclipse.uml2.uml.Property property)
           
protected  java.lang.String getUnionText(org.eclipse.uml2.uml.Property property)
           
protected  java.lang.String getUniqueText(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 ElementEditPart
** Generated **

createFigure

protected org.eclipse.draw2d.IFigure createFigure()

Overrides:
createFigure in class ElementEditPart
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)

getPropertyModifiersText

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

append

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

getReadonlyText

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

getUnionText

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

getSubsetsText

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

getRedefinesText

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

getOrderedText

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

getUniqueText

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

getConstraintText

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

handleModelChanged

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

activate

public void activate()
Overrides:
activate in class ElementEditPart
See Also:
org.topcased.modeler.edit.EMFGraphNodeEditPart#activate()

deactivate

public void deactivate()
Overrides:
deactivate in class ElementEditPart
See Also:
org.topcased.modeler.edit.EMFGraphNodeEditPart#deactivate()

SysML

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