|
UML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEdgeEndpointEditPolicy
org.topcased.modeler.uml.sequencediagram.policies.MoveGraphEdgeEditPolicy
public class MoveGraphEdgeEditPolicy
The edit policy that manage the move of graph edge
Field Summary | |
---|---|
static java.lang.String |
GRAPHEDGE_MOVE_ROLE
the edit policy ID |
Constructor Summary | |
---|---|
MoveGraphEdgeEditPolicy()
|
Method Summary | |
---|---|
protected org.eclipse.gef.commands.Command |
getCommand(GraphEdgeEditPart edgeEdit,
org.eclipse.draw2d.geometry.Point initialLoc,
org.eclipse.draw2d.geometry.Point loc)
Return the command |
org.eclipse.gef.commands.Command |
getCommand(org.eclipse.gef.Request request)
Handle the move graphedge request |
protected org.eclipse.gef.editpolicies.FeedbackHelper |
getFeedbackHelper(GraphEdgeMoveRequest request)
Return the feedback helper |
protected void |
showConnectionMoveFeedback(GraphEdgeMoveRequest request)
Show the connection feedback |
void |
showSourceFeedback(org.eclipse.gef.Request request)
Add feedback for the graph edge move |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String GRAPHEDGE_MOVE_ROLE
Constructor Detail |
---|
public MoveGraphEdgeEditPolicy()
Method Detail |
---|
public org.eclipse.gef.commands.Command getCommand(org.eclipse.gef.Request request)
EditPolicy.getCommand(org.eclipse.gef.Request)
protected org.eclipse.gef.commands.Command getCommand(GraphEdgeEditPart edgeEdit, org.eclipse.draw2d.geometry.Point initialLoc, org.eclipse.draw2d.geometry.Point loc)
edgeEdit
- the edit part of the graph edge to moveinitialLoc
- the initial position of the connectionloc
- the new position of the connection
protected org.eclipse.gef.editpolicies.FeedbackHelper getFeedbackHelper(GraphEdgeMoveRequest request)
request
- the request to feedback
protected void showConnectionMoveFeedback(GraphEdgeMoveRequest request)
request
- the request to feedbackpublic void showSourceFeedback(org.eclipse.gef.Request request)
EditPolicy.showSourceFeedback(org.eclipse.gef.Request)
|
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.