Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » [MacOS X.3.6] TableTree clicks ?
[MacOS X.3.6] TableTree clicks ? [message #446238] Mon, 22 November 2004 09:54 Go to next message
Eclipse UserFriend
Originally posted by: yvon_thoraval.mac.com

Hey all,

I'd like to use a contextual menu on a TableTree based on column header
however, the following code :

<code>
TableColumn column = new TableColumn(table, SWT.NONE, col);
column.addListener(SWT.Selection, new Listener() {
public void handleEvent(Event e) {
System.out.println(e.widget);
}
});
</code>

doesn't register selection events.

What am I doing wrong ?

Any hep appreciated,

Yvon
Re: [MacOS X.3.6] TableTree clicks ? [message #446254 is a reply to message #446238] Mon, 22 November 2004 17:14 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
https://bugs.eclipse.org/bugs/show_bug.cgi?id=34160

It's an old bug on the Mac. It turns out to be a real headache to get the
mouse press.

"Yvon Thoraval" <yvon_thoraval@mac.com> wrote in message
news:cnsd14$7s1$1@www.eclipse.org...
> Hey all,
>
> I'd like to use a contextual menu on a TableTree based on column header
> however, the following code :
>
> <code>
> TableColumn column = new TableColumn(table, SWT.NONE, col);
> column.addListener(SWT.Selection, new Listener() {
> public void handleEvent(Event e) {
> System.out.println(e.widget);
> }
> });
> </code>
>
> doesn't register selection events.
>
> What am I doing wrong ?
>
> Any hep appreciated,
>
> Yvon
Re: [MacOS X.3.6] TableTree clicks ? [message #446259 is a reply to message #446254] Mon, 22 November 2004 22:12 Go to previous message
Eclipse UserFriend
Originally posted by: yvon_thoraval.mac.com

Steve Northover a écrit :
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=34160
>
> It's an old bug on the Mac. It turns out to be a real headache to get the
> mouse press.
Thaks very much, the bug reading gave me a workaround (mouse over a
column insted), it's ok right now for me.

Best,

Yvon
Previous Topic:why the keyEvent respond to accelerater first than control?
Next Topic:SWT Table: split and scroll?
Goto Forum:
  


Current Time: Mon Oct 26 11:20:46 GMT 2020

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

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

Back to the top