|
UML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEMFGraphNodeEditPart
org.topcased.modeler.uml.alldiagram.edit.ElementEditPart
org.topcased.modeler.uml.compositestructuresdiagram.edit.PropertyEditPart
public class PropertyEditPart
The Property object controller
Constructor Summary | |
---|---|
PropertyEditPart(GraphNode obj)
Constructor |
Method Summary | |
---|---|
void |
activate()
Activates |
protected org.eclipse.jface.action.IAction |
createChangeDiagramAction(EObject modelObject)
This method enables to create a new diagram or view an existing model diagrams. |
protected void |
createEditPolicies()
Creates edit policies and associates these with roles |
protected org.eclipse.draw2d.IFigure |
createFigure()
|
void |
deactivate()
Desactivates |
protected org.eclipse.draw2d.IFigure |
getAnchorableFigure()
|
ILabel |
getEditableLabel()
The editable part of the label is the prefix |
protected void |
handleModelChanged(Notification msg)
Handles Port insertion in Property |
protected void |
refreshHeaderLabel()
Refresh the Property label |
protected void |
refreshVisuals()
Refreshes the border of the Figure according to the aggregation kind of the Property. |
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()
org.eclipse.gef.editparts.AbstractGraphicalEditPart#createFigure()
public ILabel getEditableLabel()
org.topcased.modeler.edit.GraphNodeEditPart#getEditableLabel()
protected void refreshVisuals()
org.topcased.modeler.edit.EMFGraphNodeEditPart#refreshVisuals()
protected void refreshHeaderLabel()
org.topcased.modeler.edit.EMFGraphNodeEditPart#refreshHeaderLabel()
protected org.eclipse.draw2d.IFigure getAnchorableFigure()
org.topcased.modeler.edit.GraphNodeEditPart#getAnchorableFigure()
public void activate()
org.topcased.modeler.edit.EMFGraphNodeEditPart#activate()
public void deactivate()
org.topcased.modeler.edit.EMFGraphNodeEditPart#deactivate()
protected void handleModelChanged(Notification msg)
org.topcased.modeler.edit.EMFGraphNodeEditPart#handleModelChanged(org.eclipse.emf.common.notify.Notification)
protected org.eclipse.jface.action.IAction createChangeDiagramAction(EObject modelObject)
org.topcased.modeler.edit.EMFGraphNodeEditPart#createChangeDiagramAction(org.eclipse.emf.ecore.EObject)
|
UML | |||||||||
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.