Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Right click and selection
Right click and selection [message #148726] Thu, 26 August 2004 14:25 Go to next message
Roberto is currently offline RobertoFriend
Messages: 42
Registered: July 2009
Member
Hi all,
I noticed a strange behaviour in my editor and Logic do the same: the
selection is not always updated when clicking with the right mouse button
and
the displayed popup menu is wrong.

With selection tool:
- if you right click a part, this will be selected and the menu updated
- if you right click on the background, the last selection is not
deselected and the old popup menu is displayed

With the connection tool and a part selected, everywhere you right
click the selection is never updated and the old popup menu is displayed.

This causes the user to perform action on the wrong part.
Bugzilla #30069 is similar and my question is: will this remain so?

I am using Eclipse 3.0 with GEF 3.0 on Win 2000

Thanks in advance for any help

Roberto
Re: Right click and selection [message #148742 is a reply to message #148726] Thu, 26 August 2004 17:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Do you know if the MarqueeDragTracker is returned in this case (Button 3),
or is it the DeselectTracker?

"Roberto Genini" <roberto.genini@icimsi.ch> wrote in message
news:opsdcfo2py71gv6x@news.eclipse.org...
> Hi all,
> I noticed a strange behaviour in my editor and Logic do the same: the
> selection is not always updated when clicking with the right mouse button
> and
> the displayed popup menu is wrong.
>
> With selection tool:
> - if you right click a part, this will be selected and the menu updated
> - if you right click on the background, the last selection is not
> deselected and the old popup menu is displayed
>
> With the connection tool and a part selected, everywhere you right
> click the selection is never updated and the old popup menu is displayed.
>
> This causes the user to perform action on the wrong part.
> Bugzilla #30069 is similar and my question is: will this remain so?
>
> I am using Eclipse 3.0 with GEF 3.0 on Win 2000
>
> Thanks in advance for any help
>
> Roberto
Re: Right click and selection [message #148773 is a reply to message #148742] Fri, 27 August 2004 07:51 Go to previous messageGo to next message
Roberto is currently offline RobertoFriend
Messages: 42
Registered: July 2009
Member
While searching for a response to your queston I saw that the
AbstractCreationTool don't care about the selection.
In handleButtonDown(int button) if button!=1 there is no call to
updateTargetUnderMouse()and following tracker request as in SelectionTool.
Is this the problem?
I am using GEF 3.0.0
Re: Right click and selection [message #148829 is a reply to message #148773] Fri, 27 August 2004 17:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Probably a small bug. I think it's impossible for MouseMove or MouseEnter
not to have occurred prior to mouseDown
"Roberto Genini" <roberto.genini@icimsi.ch> wrote in message
news:opsddr38ui71gv6x@news.eclipse.org...
> While searching for a response to your queston I saw that the
> AbstractCreationTool don't care about the selection.
> In handleButtonDown(int button) if button!=1 there is no call to
> updateTargetUnderMouse()and following tracker request as in SelectionTool.
> Is this the problem?
> I am using GEF 3.0.0
Re: Right click and selection [message #148933 is a reply to message #148829] Mon, 30 August 2004 13:25 Go to previous messageGo to next message
Roberto is currently offline RobertoFriend
Messages: 42
Registered: July 2009
Member
Should I open a small bugzilla?

On Fri, 27 Aug 2004 13:53:06 -0400, Randy Hudson <none@us.ibm.com> wrote:

> Probably a small bug. I think it's impossible for MouseMove or
> MouseEnter
> not to have occurred prior to mouseDown
> "Roberto Genini" <roberto.genini@icimsi.ch> wrote in message
> news:opsddr38ui71gv6x@news.eclipse.org...
>> While searching for a response to your queston I saw that the
>> AbstractCreationTool don't care about the selection.
>> In handleButtonDown(int button) if button!=1 there is no call to
>> updateTargetUnderMouse()and following tracker request as in
>> SelectionTool.
>> Is this the problem?
>> I am using GEF 3.0.0
>
Re: Right click and selection [message #149041 is a reply to message #148933] Mon, 30 August 2004 17:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Sure, no bug is too small.

"Roberto Genini" <roberto.genini@icimsi.ch> wrote in message
news:opsdjrkzni71gv6x@news.eclipse.org...
> Should I open a small bugzilla?
>
> On Fri, 27 Aug 2004 13:53:06 -0400, Randy Hudson <none@us.ibm.com> wrote:
>
> > Probably a small bug. I think it's impossible for MouseMove or
> > MouseEnter
> > not to have occurred prior to mouseDown
> > "Roberto Genini" <roberto.genini@icimsi.ch> wrote in message
> > news:opsddr38ui71gv6x@news.eclipse.org...
> >> While searching for a response to your queston I saw that the
> >> AbstractCreationTool don't care about the selection.
> >> In handleButtonDown(int button) if button!=1 there is no call to
> >> updateTargetUnderMouse()and following tracker request as in
> >> SelectionTool.
> >> Is this the problem?
> >> I am using GEF 3.0.0
> >
Re: Right click and selection [message #149136 is a reply to message #149041] Tue, 31 August 2004 07:47 Go to previous message
Roberto is currently offline RobertoFriend
Messages: 42
Registered: July 2009
Member
Done, new bug #72935

Thanks for help

On Mon, 30 Aug 2004 13:04:21 -0400, Randy Hudson <none@us.ibm.com> wrote:

> Sure, no bug is too small.
>
> "Roberto Genini" <roberto.genini@icimsi.ch> wrote in message
> news:opsdjrkzni71gv6x@news.eclipse.org..
>> Should I open a small bugzilla?
Previous Topic:How to create Table in GEF ?
Next Topic:dependences between property pages
Goto Forum:
  


Current Time: Wed Sep 18 21:18:43 GMT 2024

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

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

Back to the top