|
UML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectModelerLayoutEditPolicy
org.topcased.modeler.uml.sequencediagram.policies.LifelineLayoutEditPolicy
public class LifelineLayoutEditPolicy
Edit policy that handles the executions and stop on lifeline
Constructor Summary | |
---|---|
LifelineLayoutEditPolicy()
Default contructor. |
Method Summary | |
---|---|
protected org.eclipse.gef.commands.Command |
createChangeConstraintCommand(org.eclipse.gef.requests.ChangeBoundsRequest request,
org.eclipse.gef.EditPart child,
java.lang.Object constraint)
Don't allow the resize if some message are present |
protected org.eclipse.gef.commands.Command |
createChangeConstraintCommand(org.eclipse.gef.EditPart child,
java.lang.Object constraint)
Create custom command |
protected org.eclipse.gef.commands.Command |
getCreateCommand(org.eclipse.gef.EditDomain domain,
GraphNode newObject,
GraphNode newParent,
EObject newContainerParent,
org.eclipse.draw2d.geometry.Point location,
org.eclipse.draw2d.geometry.Dimension dim,
int attach,
java.util.List featuresList,
boolean needModelUpdate)
Create a stop or execution creation command |
protected org.eclipse.gef.commands.Command |
getMoveChildrenCommand(org.eclipse.gef.Request request)
Mustn't move in the x direction |
protected EObject |
getParentContainerEObject(GraphElement parent,
DiagramElement child)
The container is not the lifeline but the interaction |
protected org.eclipse.gef.commands.Command |
getResizeChildrenCommand(org.eclipse.gef.requests.ChangeBoundsRequest request)
The resizing is forbidden in the 'width' way for the executions |
protected boolean |
isValid(EObject child,
EObject parent)
Only execution and stop are allowed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LifelineLayoutEditPolicy()
Method Detail |
---|
protected org.eclipse.gef.commands.Command getCreateCommand(org.eclipse.gef.EditDomain domain, GraphNode newObject, GraphNode newParent, EObject newContainerParent, org.eclipse.draw2d.geometry.Point location, org.eclipse.draw2d.geometry.Dimension dim, int attach, java.util.List featuresList, boolean needModelUpdate)
org.topcased.modeler.edit.policies.ModelerLayoutEditPolicy#getCreateCommand(org.eclipse.gef.EditDomain,
org.topcased.modeler.di.model.GraphNode, org.topcased.modeler.di.model.GraphNode,
org.eclipse.emf.ecore.EObject, org.eclipse.draw2d.geometry.Point, org.eclipse.draw2d.geometry.Dimension,
int, java.util.List, boolean)
protected boolean isValid(EObject child, EObject parent)
org.topcased.modeler.edit.policies.ModelerLayoutEditPolicy#isValid(org.eclipse.emf.ecore.EObject,
org.eclipse.emf.ecore.EObject)
protected EObject getParentContainerEObject(GraphElement parent, DiagramElement child)
org.topcased.modeler.edit.policies.ModelerLayoutEditPolicy#getParentContainerEObject(GraphElement,
DiagramElement)
protected org.eclipse.gef.commands.Command getMoveChildrenCommand(org.eclipse.gef.Request request)
LayoutEditPolicy.getMoveChildrenCommand(org.eclipse.gef.Request)
protected org.eclipse.gef.commands.Command getResizeChildrenCommand(org.eclipse.gef.requests.ChangeBoundsRequest request)
ConstrainedLayoutEditPolicy.getResizeChildrenCommand(org.eclipse.gef.requests.ChangeBoundsRequest)
protected org.eclipse.gef.commands.Command createChangeConstraintCommand(org.eclipse.gef.requests.ChangeBoundsRequest request, org.eclipse.gef.EditPart child, java.lang.Object constraint)
ConstrainedLayoutEditPolicy.createChangeConstraintCommand(org.eclipse.gef.requests.ChangeBoundsRequest,
org.eclipse.gef.EditPart, java.lang.Object)
protected org.eclipse.gef.commands.Command createChangeConstraintCommand(org.eclipse.gef.EditPart child, java.lang.Object constraint)
ConstrainedLayoutEditPolicy.createChangeConstraintCommand(org.eclipse.gef.EditPart,
java.lang.Object)
|
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.