|
SysML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectEMFGraphEdgeEditPart
org.topcased.modeler.sysml.internalblockdiagram.edit.ConnectorEditPart
public class ConnectorEditPart
Connector controller
| Field Summary | |
|---|---|
static int |
flowFromSourceToTarget
|
static int |
flowFromTargetToSource
|
static int |
flowInBothDirection
|
static int |
noFlow
|
| Constructor Summary | |
|---|---|
ConnectorEditPart(GraphEdge model)
Constructor |
|
| Method Summary | |
|---|---|
void |
activate()
|
protected void |
createEditPolicies()
|
protected org.eclipse.draw2d.IFigure |
createFigure()
|
void |
deactivate()
|
IEdgeObjectFigure |
getEdgeObjectFigure(EdgeObject edgeObject)
|
protected void |
handleModelChanged(Notification msg)
|
void |
performRequest(org.eclipse.gef.Request request)
|
protected void |
refreshEdgeObjects()
|
void |
updateItemFlowIcon(ConnectorFigure connectorFigure)
Update ItemFlowIcon according to the position of the connector |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int noFlow
public static final int flowFromSourceToTarget
public static final int flowFromTargetToSource
public static final int flowInBothDirection
| Constructor Detail |
|---|
public ConnectorEditPart(GraphEdge model)
model - the graph object| Method Detail |
|---|
protected void createEditPolicies()
org.eclipse.gef.editparts.AbstractEditPart#createEditPolicies()protected org.eclipse.draw2d.IFigure createFigure()
public IEdgeObjectFigure getEdgeObjectFigure(EdgeObject edgeObject)
org.topcased.modeler.edit.GraphEdgeEditPart#getEdgeObjectFigure(org.topcased.modeler.di.model.EdgeObject)protected void refreshEdgeObjects()
org.topcased.modeler.edit.GraphEdgeEditPart#refreshEdgeObjects()protected void handleModelChanged(Notification msg)
org.topcased.modeler.edit.EMFGraphEdgeEditPart#handleModelChanged(org.eclipse.emf.common.notify.Notification)public void activate()
org.topcased.modeler.edit.EMFGraphNodeEditPart#activate()public void deactivate()
org.topcased.modeler.edit.EMFGraphNodeEditPart#deactivate()public void updateItemFlowIcon(ConnectorFigure connectorFigure)
connectorFigure - the ConnectorFigurepublic void performRequest(org.eclipse.gef.Request request)
org.eclipse.gef.editparts.AbstractEditPart#performRequest(Request)
|
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.