org.topcased.modeler.sysml.internalblockdiagram.commands
Class CreatePortCommand
java.lang.Object
CreateGraphNodeCommand
org.topcased.modeler.sysml.internalblockdiagram.commands.CreatePropertyCommand
org.topcased.modeler.sysml.internalblockdiagram.commands.CreatePortCommand
public class CreatePortCommand
- extends CreatePropertyCommand
|
Field Summary |
protected static java.lang.String |
TYPE
Object type involved in this command |
|
Constructor Summary |
CreatePortCommand(org.eclipse.gef.EditDomain domain,
GraphNode newObject,
GraphNode newParent,
org.eclipse.draw2d.geometry.Point location,
org.eclipse.draw2d.geometry.Dimension dimension,
int pos,
boolean needModelUpdate)
The Constructor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE
protected static final java.lang.String TYPE
- Object type involved in this command
- See Also:
- Constant Field Values
CreatePortCommand
public CreatePortCommand(org.eclipse.gef.EditDomain domain,
GraphNode newObject,
GraphNode newParent,
org.eclipse.draw2d.geometry.Point location,
org.eclipse.draw2d.geometry.Dimension dimension,
int pos,
boolean needModelUpdate)
- The Constructor
- Parameters:
domain - the EditDomain (used to init the name)newObject - the node to createnewParent - the parent nodelocation - the location of the created nodedimension - the size of the created nodepos - needModelUpdate - true if the model must be modified during this command, false if objects already exist in the mode.
getParentEObject
protected EObject getParentEObject()
- Overrides:
getParentEObject in class CreatePropertyCommand
- See Also:
org.topcased.modeler.commands.CreateGraphNodeCommand#getParentEObject()- ** Generated **
- NOT
openDialog
public boolean openDialog()
- Overrides:
openDialog in class CreatePropertyCommand
- See Also:
org.topcased.modeler.commands.IDialogCommand#openDialog()
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.