Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT Tree right click menu
SWT Tree right click menu [message #464351] Mon, 21 November 2005 22:24 Go to next message
Joseph Rignanese is currently offline Joseph RignaneseFriend
Messages: 16
Registered: July 2009
Junior Member
Hi guys,

I've added a tree to my application, and I have a pop up menu that i've
set as the tree's menu. Unfortunately it's not behaving the way I want it
to.

The way I think it should behave is when i click and hold over an
unselected node the node should be selected and the menu should appear
(this should all happen preferably without triggering a selection event
for the node).

Does anyone know how I can get it to behave like that?

Alternatively is there any way to find out which node the mouse is over at
the time of the click and hold?

Thanks in advance,
Joe
Re: SWT Tree right click menu [message #464363 is a reply to message #464351] Tue, 22 November 2005 04:46 Go to previous messageGo to next message
Joseph Rignanese is currently offline Joseph RignaneseFriend
Messages: 16
Registered: July 2009
Junior Member
P.S This only seems to happen on my pocket pc with the J9 JVM.. On my pc it
seems to work fine..

btw the click and hold is the equivalent of a right click on the pocket pc

"Joseph" <joseph@spectraqest.com.au> wrote in message
news:39f2dd290fb146fe29fa6875de6fa1e2$1@www.eclipse.org...
> Hi guys,
>
> I've added a tree to my application, and I have a pop up menu that i've
> set as the tree's menu. Unfortunately it's not behaving the way I want it
> to.
>
> The way I think it should behave is when i click and hold over an
> unselected node the node should be selected and the menu should appear
> (this should all happen preferably without triggering a selection event
> for the node).
>
> Does anyone know how I can get it to behave like that?
>
> Alternatively is there any way to find out which node the mouse is over at
> the time of the click and hold?
>
> Thanks in advance,
> Joe
>
Re: SWT Tree right click menu [message #464393 is a reply to message #464363] Tue, 22 November 2005 18:35 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
Please enter a bug report against Platform SWT.

For Windows, the menu appears on mouse up and not mouse down and hold. There
may be a bug in the way the different behaviour is handled on Pocket PC.

"Joseph Rignanese" <joseph@spectraqest.com.au> wrote in message
news:dlu7m5$e9t$1@news.eclipse.org...
> P.S This only seems to happen on my pocket pc with the J9 JVM.. On my pc
> it seems to work fine..
>
> btw the click and hold is the equivalent of a right click on the pocket pc
>
> "Joseph" <joseph@spectraqest.com.au> wrote in message
> news:39f2dd290fb146fe29fa6875de6fa1e2$1@www.eclipse.org...
>> Hi guys,
>>
>> I've added a tree to my application, and I have a pop up menu that i've
>> set as the tree's menu. Unfortunately it's not behaving the way I want it
>> to.
>>
>> The way I think it should behave is when i click and hold over an
>> unselected node the node should be selected and the menu should appear
>> (this should all happen preferably without triggering a selection event
>> for the node).
>>
>> Does anyone know how I can get it to behave like that?
>>
>> Alternatively is there any way to find out which node the mouse is over
>> at the time of the click and hold?
>>
>> Thanks in advance,
>> Joe
>>
>
>
Previous Topic:TableTree accessibility problem
Next Topic:Combo in a form has not flat look
Goto Forum:
  


Current Time: Wed Dec 11 06:18:55 GMT 2019

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

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

Back to the top