UML

org.topcased.modeler.uml.sequencediagram.policies
Class SequenceDiagramLayoutEditPolicy

java.lang.Object
  extended by ModelerLayoutEditPolicy
      extended by org.topcased.modeler.uml.sequencediagram.policies.SequenceDiagramLayoutEditPolicy

public class SequenceDiagramLayoutEditPolicy
extends ModelerLayoutEditPolicy

** Generated **

Constructor Summary
SequenceDiagramLayoutEditPolicy()
          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)
           
protected  org.eclipse.gef.commands.Command createChangeConstraintCommand(org.eclipse.gef.EditPart child, java.lang.Object constraint)
          The lifelines are an y fixed position Don't allow the resize if some message are present
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 dimension, int attach, java.util.List featuresList, boolean needModelUpdate)
          The lifelines are an y fixed position
protected  boolean isValid(EObject child, EObject parent)
          Only lifeline and comment are allowed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequenceDiagramLayoutEditPolicy

public SequenceDiagramLayoutEditPolicy()
Default contructor.

** Generated **
Method Detail

isValid

protected boolean isValid(EObject child,
                          EObject parent)
Only lifeline and comment are allowed

See Also:
org.topcased.modeler.edit.policies.ModelerLayoutEditPolicy#isValid(org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EObject)

getCreateCommand

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 dimension,
                                                            int attach,
                                                            java.util.List featuresList,
                                                            boolean needModelUpdate)
The lifelines are an y fixed position

See Also:
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)

createChangeConstraintCommand

protected org.eclipse.gef.commands.Command createChangeConstraintCommand(org.eclipse.gef.requests.ChangeBoundsRequest request,
                                                                         org.eclipse.gef.EditPart child,
                                                                         java.lang.Object constraint)
See Also:
org.topcased.modeler.edit.policies.ModelerLayoutEditPolicy#createChangeConstraintCommand(org.eclipse.gef.requests.ChangeBoundsRequest, org.eclipse.gef.EditPart, java.lang.Object)

createChangeConstraintCommand

protected org.eclipse.gef.commands.Command createChangeConstraintCommand(org.eclipse.gef.EditPart child,
                                                                         java.lang.Object constraint)
The lifelines are an y fixed position Don't allow the resize if some message are present

See Also:
ConstrainedLayoutEditPolicy.createChangeConstraintCommand(org.eclipse.gef.EditPart, java.lang.Object)

UML

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.