|
|
Re: ResizableEditPolicy, what integer parameter do I use for setResizeDirections()? [message #147752 is a reply to message #147722] |
Mon, 16 August 2004 15:59 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: none.us.ibm.com
There is a clue in ChangeBoundsRequest. I've updated the JavaDoc.
/**
* Returns the direction the figure is being resized. Possible values are
* <ul>
* <li>{@link org.eclipse.draw2d.PositionConstants#EAST}
* <li>{@link org.eclipse.draw2d.PositionConstants#WEST}
* <li>{@link org.eclipse.draw2d.PositionConstants#NORTH}
* <li>{@link org.eclipse.draw2d.PositionConstants#SOUTH}
* <li>{@link org.eclipse.draw2d.PositionConstants#NORTH_EAST}
* <li>{@link org.eclipse.draw2d.PositionConstants#NORTH_WEST}
* <li>{@link org.eclipse.draw2d.PositionConstants#SOUTH_EAST}
* <li>{@link org.eclipse.draw2d.PositionConstants#SOUTH_WEST}
* </ul>
*
* @return the resize direction
*/
public int getResizeDirection() {
return resizeDirection;
}
"Sean Neeley" <sean.neeley@dbcsoftware.com> wrote in message
news:cfqi7u$4it$1@eclipse.org...
> I might be blind, but I can't find anywhere in the API docs where it
> says what integer value can be passed to
> ResizableEditPolicy.setResizeDirections(). I want to make my figure
> resizable only in the horizontal directions. What value would I pass to
> this method?
>
> Thanks.
> Sean
|
|
|
Powered by
FUDForum. Page generated in 0.03285 seconds