|
UML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectDiagramEditPart
org.topcased.modeler.uml.sequencediagram.edit.SequenceDiagramEditPart
public class SequenceDiagramEditPart
| Nested Class Summary | |
|---|---|
protected class |
SequenceDiagramEditPart.SequenceDiagramEditPartListener
Override the default Listener to update the connections |
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.gef.EditPart |
|---|
SELECTED, SELECTED_NONE, SELECTED_PRIMARY |
| Constructor Summary | |
|---|---|
SequenceDiagramEditPart(Diagram model)
The Constructor |
|
| Method Summary | |
|---|---|
protected org.eclipse.draw2d.IFigure |
createBodyFigure()
|
protected void |
createEditPolicies()
The sequence diagram can recieve messages |
protected DiagramElementListener |
getDiagramElementListener()
|
protected GraphNode |
getGraphNode()
Get the graphNode model object (DI) associated with the EditPart |
protected java.lang.String |
getHeaderDiagram()
The label is the name of the diagram |
protected org.eclipse.gef.EditPolicy |
getLayoutEditPolicy()
|
protected java.util.List |
getModelSourceConnections()
|
protected java.util.List |
getModelTargetConnections()
|
org.eclipse.draw2d.ConnectionAnchor |
getSourceConnectionAnchor(org.eclipse.gef.ConnectionEditPart connection)
|
org.eclipse.draw2d.ConnectionAnchor |
getSourceConnectionAnchor(org.eclipse.gef.Request request)
|
org.eclipse.draw2d.ConnectionAnchor |
getTargetConnectionAnchor(org.eclipse.gef.ConnectionEditPart connection)
|
org.eclipse.draw2d.ConnectionAnchor |
getTargetConnectionAnchor(org.eclipse.gef.Request request)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.gef.GraphicalEditPart |
|---|
addNodeListener, getContentPane, getFigure, getSourceConnections, getTargetConnections, removeNodeListener, setLayoutConstraint |
| Methods inherited from interface org.eclipse.gef.EditPart |
|---|
activate, addEditPartListener, addNotify, deactivate, eraseSourceFeedback, eraseTargetFeedback, getChildren, getCommand, getDragTracker, getEditPolicy, getModel, getParent, getRoot, getSelected, getTargetEditPart, getViewer, hasFocus, installEditPolicy, isActive, isSelectable, performRequest, refresh, removeEditPartListener, removeEditPolicy, removeNotify, setFocus, setModel, setParent, setSelected, showSourceFeedback, showTargetFeedback, understandsRequest |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Constructor Detail |
|---|
public SequenceDiagramEditPart(Diagram model)
model - | Method Detail |
|---|
protected DiagramElementListener getDiagramElementListener()
org.topcased.modeler.edit.DiagramEditPart#getDiagramElementListener()protected void createEditPolicies()
org.eclipse.gef.editparts.AbstractEditPart#createEditPolicies()protected org.eclipse.gef.EditPolicy getLayoutEditPolicy()
org.topcased.modeler.edit.DiagramEditPart#getLayoutEditPolicy()protected org.eclipse.draw2d.IFigure createBodyFigure()
org.topcased.modeler.edit.DiagramEditPart#createBodyFigure()protected java.lang.String getHeaderDiagram()
org.topcased.modeler.edit.DiagramEditPart#getHeaderDiagram()public org.eclipse.draw2d.ConnectionAnchor getSourceConnectionAnchor(org.eclipse.gef.ConnectionEditPart connection)
getSourceConnectionAnchor in interface org.eclipse.gef.NodeEditPartNodeEditPart.getSourceConnectionAnchor(org.eclipse.gef.ConnectionEditPart)public org.eclipse.draw2d.ConnectionAnchor getSourceConnectionAnchor(org.eclipse.gef.Request request)
getSourceConnectionAnchor in interface org.eclipse.gef.NodeEditPartNodeEditPart.getSourceConnectionAnchor(org.eclipse.gef.Request)public org.eclipse.draw2d.ConnectionAnchor getTargetConnectionAnchor(org.eclipse.gef.ConnectionEditPart connection)
getTargetConnectionAnchor in interface org.eclipse.gef.NodeEditPartNodeEditPart.getTargetConnectionAnchor(org.eclipse.gef.ConnectionEditPart)public org.eclipse.draw2d.ConnectionAnchor getTargetConnectionAnchor(org.eclipse.gef.Request request)
getTargetConnectionAnchor in interface org.eclipse.gef.NodeEditPartNodeEditPart.getTargetConnectionAnchor(org.eclipse.gef.Request)protected GraphNode getGraphNode()
protected java.util.List getModelSourceConnections()
org.eclipse.gef.editparts.AbstractGraphicalEditPart#getModelSourceConnections()protected java.util.List getModelTargetConnections()
org.eclipse.gef.editparts.AbstractGraphicalEditPart#getModelTargetConnections()
|
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.