UML

org.topcased.modeler.uml.compositestructuresdiagram.external.policies
Class CollaborationLayoutEditPolicy

java.lang.Object
  extended by ModelerLayoutEditPolicy
      extended by org.topcased.modeler.uml.compositestructuresdiagram.external.policies.CollaborationLayoutEditPolicy

public class CollaborationLayoutEditPolicy
extends ModelerLayoutEditPolicy

Policies for Collaboration layout

** Generated **
NOT

Constructor Summary
CollaborationLayoutEditPolicy()
          Default contructor.
 
Method Summary
protected  org.eclipse.gef.commands.Command getCreateCommand(GraphNode parent, GraphNode child, org.eclipse.draw2d.geometry.Point loc, org.eclipse.draw2d.geometry.Dimension dim, int pos, boolean needModelUpdate)
          Override the behavior were the Features component may not exist yet and should be created by the customized creation command
protected  boolean isValid(EObject child, EObject parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollaborationLayoutEditPolicy

public CollaborationLayoutEditPolicy()
Default contructor.

** Generated **
Method Detail

isValid

protected boolean isValid(EObject child,
                          EObject parent)
See Also:
org.topcased.modeler.edit.policies.ModelerLayoutEditPolicy#isValid(org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EObject)
** Generated **
NOT

getCreateCommand

protected org.eclipse.gef.commands.Command getCreateCommand(GraphNode parent,
                                                            GraphNode child,
                                                            org.eclipse.draw2d.geometry.Point loc,
                                                            org.eclipse.draw2d.geometry.Dimension dim,
                                                            int pos,
                                                            boolean needModelUpdate)
Override the behavior were the Features component may not exist yet and should be created by the customized creation command

See Also:
org.topcased.modeler.edit.policies.ModelerLayoutEditPolicy#getCreateCommand(org.topcased.modeler.di.model.GraphNode, org.topcased.modeler.di.model.GraphNode, org.eclipse.draw2d.geometry.Point, org.eclipse.draw2d.geometry.Dimension, int, boolean)

UML

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