|
SysML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectEMFGraphNodeEditPart
org.topcased.modeler.sysml.internalblockdiagram.edit.ElementEditPart
org.topcased.modeler.sysml.internalblockdiagram.edit.NamedElementEditPart
org.topcased.modeler.sysml.internalblockdiagram.edit.PropertyEditPart
org.topcased.modeler.sysml.internalblockdiagram.edit.PortEditPart
public class PortEditPart
The Port object controller
| 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 |
|---|
protected PortProvidedInterfaceFigure _providedFigure
protected PortRequiredInterfaceFigure _requiredFigure
| Constructor Detail |
|---|
public PortEditPart(GraphNode obj)
obj - the graph node| Method Detail |
|---|
protected void createEditPolicies()
createEditPolicies in class PropertyEditPartprotected org.eclipse.draw2d.IFigure createFigure()
createFigure in class PropertyEditPartorg.eclipse.gef.editparts.AbstractGraphicalEditPart#createFigure()public void activate()
activate in class PropertyEditPartEditPart.activate()public void deactivate()
deactivate in class PropertyEditPartEditPart.deactivate()protected void handleModelChanged(Notification msg)
handleModelChanged in class PropertyEditPartorg.topcased.modeler.edit.EMFGraphNodeEditPart#handleModelChanged(org.eclipse.emf.common.notify.Notification)protected void refreshHeaderLabel()
PropertyEditPart
refreshHeaderLabel in class PropertyEditPartorg.topcased.modeler.edit.PortEditPart#refreshHeaderLabel()protected void refreshVisuals()
org.eclipse.gef.editparts.AbstractEditPart#refreshVisuals()protected void refreshProvidedInterfaces()
protected void refreshRequiredInterfaces()
public void refreshProvidedInterfacesNames()
public void refreshRequiredInterfacesNames()
|
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.