(no subject) [message #715799] |
Mon, 15 August 2011 11:16  |
Eclipse User |
|
|
|
Originally posted by: Thomas Barth
Hi,
is it possible to get a doubleclick on TabFolder? I would like to give
the user the possibility to edit the text titles of the tabs.
tabFolder.addListener(SWT.Selection, new Listener() {
public void handleEvent(Event e) {
switch (e.type) {
//no other event than SWT.Selection!
case SWT.Selection:
Report.print("Tabfolder selection - never occur");
tabindex = tabFolder.getSelectionIndex();
showTextModules();
break;
case SWT.MouseDoubleClick:
Report.print("Tabfolder doubleclick selection - never occur");
break;
default:
Report.print("? - never occur");
}
}
});
:tested on Linux Ubuntu 10.04
Thomas B
|
|
|
|
Powered by
FUDForum. Page generated in 0.04724 seconds