|
Re: Resizing edit part without move [message #148178 is a reply to message #147996] |
Thu, 19 August 2004 06:18 |
Eclipse User |
|
|
|
Originally posted by: eostroukhov.hotmail.com
In your resizable editpolicy add only resize handles and have your edit part
return drag tracker other then DragEditPartsTracker.
"Roberto Genini" <roberto.genini@icimsi.ch> wrote in message
news:opscxer0pz71gv6x@news.eclipse.org...
> Hi all,
> I need an edit part to be resizable but not movable.
> It work fine but when selected, the move cursor is also displayed when the
pointer is over the border. I use ResizableEditPolicy with
setDragAllowed(false) but the move cursor is still displayed.
>
> What am I doing wrong?
> I am using Eclipse 3.0 with GEF 3.0
>
> Thanks in advance for any help
>
> Roberto
>
|
|
|
Re: Resizing edit part without move [message #148194 is a reply to message #147996] |
Thu, 19 August 2004 13:01 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
The border is the move handle. You could remove this by overriding which
handles are created. I think you need this border displayed to represent
selection, so I would display this type of handle but with no cursor and no
drag tracker.
Open a bugzilla for GEF. We can change the policy to call
understandRequest(REQ_MOVE) when building handles
"Roberto Genini" <roberto.genini@icimsi.ch> wrote in message
news:opscxer0pz71gv6x@news.eclipse.org...
> Hi all,
> I need an edit part to be resizable but not movable.
> It work fine but when selected, the move cursor is also displayed when the
pointer is over the border. I use ResizableEditPolicy with
setDragAllowed(false) but the move cursor is still displayed.
>
> What am I doing wrong?
> I am using Eclipse 3.0 with GEF 3.0
>
> Thanks in advance for any help
>
> Roberto
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.02661 seconds