Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Resizing edit part without move
Resizing edit part without move [message #147996] Wed, 18 August 2004 11:41 Go to next message
Roberto is currently offline RobertoFriend
Messages: 42
Registered: July 2009
Member
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 #148178 is a reply to message #147996] Thu, 19 August 2004 06:18 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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
>
Re: Resizing edit part without move [message #148211 is a reply to message #147996] Thu, 19 August 2004 14:07 Go to previous message
Roberto is currently offline RobertoFriend
Messages: 42
Registered: July 2009
Member
I have tried the solution proposed by Eugene but don't seem to work.
I have opened a bugzilla as proposed by Randy, ID is 72267.

Thanks to all
Roberto
Previous Topic:GEF and BIDI
Next Topic:How to make a connector touch the shape
Goto Forum:
  


Current Time: Fri Dec 27 18:47:40 GMT 2024

Powered by FUDForum. Page generated in 0.04443 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top