|
Modelers | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.topcased.modeler.tools.AutoResizer
public class AutoResizer
This class tries to resize all the given EditParts.
Constructor Summary | |
---|---|
AutoResizer()
|
Method Summary | |
---|---|
org.eclipse.gef.commands.Command |
getCommand(java.util.List editParts)
Returns the autoresize command. |
void |
setMargin(int m)
Defines the margin around the inner objects |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AutoResizer()
Method Detail |
---|
public void setMargin(int m)
m
- the margin to usepublic org.eclipse.gef.commands.Command getCommand(java.util.List editParts)
editParts
- the list of the EditParts to autoresize
|
Modelers | |||||||||
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.