Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 257238 Details for
Bug 479646
GLib-CRITICAL output when adding MouseHover listener
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
example
Snippet52.java (text/plain), 859 bytes, created by
Thomas Singer
on 2015-10-13 09:20:10 EDT
(
hide
)
Description:
example
Filename:
MIME Type:
Creator:
Thomas Singer
Created:
2015-10-13 09:20:10 EDT
Size:
859 bytes
patch
obsolete
>import org.eclipse.swt.*; >import org.eclipse.swt.graphics.*; >import org.eclipse.swt.widgets.*; > >/** > * Created by tom on 13.10.15. > */ >public class Snippet52 { > > public static void main (String [] args) { > Display display = new Display (); > Shell shell = new Shell (display); > Table table = new Table (shell, SWT.BORDER | SWT.MULTI); > Rectangle clientArea = shell.getClientArea (); > table.setBounds (clientArea.x, clientArea.y, 200, 200); > for (int i=0; i<128; i++) { > TableItem item = new TableItem(table, SWT.NONE); > item.setText ("Item " + i); > } > table.addListener(SWT.MouseHover, new Listener() { > @Override > public void handleEvent(Event event) { > } > }); > table.setSelection (95); > shell.pack (); > shell.open (); > while (!shell.isDisposed ()) { > if (!display.readAndDispatch ()) display.sleep (); > } > display.dispose (); > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 479646
: 257238