UML

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

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

public class PropertyLayoutEditPolicy
extends ModelerLayoutEditPolicy

Property Layout policies.

** Generated **

Constructor Summary
PropertyLayoutEditPolicy()
          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 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

PropertyLayoutEditPolicy

public PropertyLayoutEditPolicy()
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 **
NOT

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.