|
SysML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.topcased.modeler.edit.policies.ModelerLayoutEditPolicy
org.topcased.modeler.sysml.internalblockdiagram.policies.BlockPropertyLayoutEditPolicy
public class BlockPropertyLayoutEditPolicy
| Constructor Summary | |
|---|---|
BlockPropertyLayoutEditPolicy()
Default contructor. |
|
| Method Summary | |
|---|---|
protected org.eclipse.gef.commands.Command |
checkValidality(EObject child,
EObject parent)
Check if the current EObject is a valid child for the parent EObject. |
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)
|
protected EObject |
getParentContainerEObject(GraphElement parent,
DiagramElement child)
|
protected boolean |
isAttachedToBorder(GraphNode node)
|
protected boolean |
isValid(EObject child,
EObject parent)
|
protected boolean |
isValidConstraint(org.eclipse.gef.GraphicalEditPart parent,
org.eclipse.draw2d.geometry.Rectangle constraint)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BlockPropertyLayoutEditPolicy()
| Method Detail |
|---|
protected boolean isAttachedToBorder(GraphNode node)
org.topcased.modeler.edit.policies.ModelerLayoutEditPolicy#isAttachedToBorder(org.topcased.modeler.di.model.GraphNode)
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 boolean isValidConstraint(org.eclipse.gef.GraphicalEditPart parent,
org.eclipse.draw2d.geometry.Rectangle constraint)
org.topcased.modeler.edit.policies.ModelerLayoutEditPolicy#isValidConstraint(org.eclipse.gef.GraphicalEditPart,
org.eclipse.draw2d.geometry.Rectangle)
protected EObject getParentContainerEObject(GraphElement parent,
DiagramElement child)
org.topcased.modeler.edit.policies.ModelerLayoutEditPolicy#getParentContainerEObject(GraphElement,DiagramElement)
protected org.eclipse.gef.commands.Command checkValidality(EObject child,
EObject parent)
child - the child EObjectparent - the parent EObject
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)
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)
|
SysML | |||||||||
| 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.