UML

org.topcased.modeler.uml.compositestructuresdiagram.policies
Class CompositeStructuresDiagramLayoutEditPolicy

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

public class CompositeStructuresDiagramLayoutEditPolicy
extends ModelerLayoutEditPolicy

** Generated **

Constructor Summary
CompositeStructuresDiagramLayoutEditPolicy()
          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 isAttachedToBorder(GraphNode node)
           
protected  boolean isSeveralDisplayAllowed(GraphNode parent, GraphNode child, boolean needModelUpdate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeStructuresDiagramLayoutEditPolicy

public CompositeStructuresDiagramLayoutEditPolicy()
Default contructor.

** Generated **
Method Detail

isAttachedToBorder

protected boolean isAttachedToBorder(GraphNode node)
See Also:
org.topcased.modeler.edit.policies.ModelerLayoutEditPolicy#isAttachedToBorder(org.topcased.modeler.di.model.GraphNode)
** Generated **

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)

isSeveralDisplayAllowed

protected boolean isSeveralDisplayAllowed(GraphNode parent,
                                          GraphNode child,
                                          boolean needModelUpdate)

UML

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