|
SAM | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gef.commands.Command
org.eclipse.gef.commands.CompoundCommand
org.topcased.modeler.sam.systemdiagram.commands.ResizePortContainerCommand
public class ResizePortContainerCommand
This command add a move command for each Port contained by the EditPart container. The new position is calculated depending on the current position of the Port (on which border it is attached) and the zoom value (the moveDelta is not the same as the resizeDelta which does not care about the current zoom). Created 8 juin 2005
Constructor Summary | |
---|---|
ResizePortContainerCommand(org.eclipse.gef.EditPart container,
org.eclipse.draw2d.geometry.Dimension sizeDelta)
Deprecated. The Constructor Determine the new deltas depending on the current zoom and apply it to all the Port |
Method Summary |
---|
Methods inherited from class org.eclipse.gef.commands.CompoundCommand |
---|
add, canExecute, canUndo, dispose, execute, getChildren, getCommands, getLabel, isEmpty, redo, size, undo, unwrap |
Methods inherited from class org.eclipse.gef.commands.Command |
---|
chain, getDebugLabel, setDebugLabel, setLabel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResizePortContainerCommand(org.eclipse.gef.EditPart container, org.eclipse.draw2d.geometry.Dimension sizeDelta)
container
- the EditPart that contain the PortssizeDelta
- the Dimension Delta of the resize command
|
SAM | |||||||||
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.