|
SysML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEMFGraphNodeEditPart
org.topcased.modeler.sysml.blockdefinitiondiagram.edit.ElementEditPart
org.topcased.modeler.sysml.blockdefinitiondiagram.edit.PropertyEditPart
public class PropertyEditPart
The Property object controller
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 |
---|
public PropertyEditPart(GraphNode obj)
obj
- the graph nodeMethod Detail |
---|
protected void createEditPolicies()
createEditPolicies
in class ElementEditPart
protected org.eclipse.draw2d.IFigure createFigure()
createFigure
in class ElementEditPart
org.eclipse.gef.editparts.AbstractGraphicalEditPart#createFigure()
protected void refreshHeaderLabel()
org.topcased.modeler.edit.EMFGraphNodeEditPart#refreshHeaderLabel()
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 getPropertyModifiersText(org.eclipse.uml2.uml.Property property)
protected void append(java.lang.StringBuffer text, java.lang.String fragment)
protected java.lang.String getReadonlyText(org.eclipse.uml2.uml.Property property)
protected java.lang.String getUnionText(org.eclipse.uml2.uml.Property property)
protected java.lang.String getSubsetsText(org.eclipse.uml2.uml.Property property)
protected java.lang.String getRedefinesText(org.eclipse.uml2.uml.Property property)
protected java.lang.String getOrderedText(org.eclipse.uml2.uml.Property property)
protected java.lang.String getUniqueText(org.eclipse.uml2.uml.Property property)
protected java.lang.String getConstraintText(org.eclipse.uml2.uml.Property property)
protected void handleModelChanged(Notification msg)
handleModelChanged
in class ElementEditPart
org.topcased.modeler.edit.EMFGraphNodeEditPart#handleModelChanged(org.eclipse.emf.common.notify.Notification)
public void activate()
activate
in class ElementEditPart
org.topcased.modeler.edit.EMFGraphNodeEditPart#activate()
public void deactivate()
deactivate
in class ElementEditPart
org.topcased.modeler.edit.EMFGraphNodeEditPart#deactivate()
|
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.