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 211281 Details for
Bug 354368
Occasional exception on refresh (F5)
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.
Entry point to reproduce the issue with RAP 1.5
SimpleEntryPoint.java (text/plain), 1.12 KB, created by
Ivan Furnadjiev
on 2012-02-20 14:36:23 EST
(
hide
)
Description:
Entry point to reproduce the issue with RAP 1.5
Filename:
MIME Type:
Creator:
Ivan Furnadjiev
Created:
2012-02-20 14:36:23 EST
Size:
1.12 KB
patch
obsolete
>package rap.bugs.entrypoint; > >import org.eclipse.rwt.graphics.Graphics; >import org.eclipse.rwt.lifecycle.IEntryPoint; >import org.eclipse.swt.events.ShellEvent; >import org.eclipse.swt.events.ShellListener; >import org.eclipse.swt.widgets.Display; >import org.eclipse.swt.widgets.Shell; > >public class SimpleEntryPoint implements IEntryPoint { > > @SuppressWarnings("serial") > public int createUI() { > Display display = new Display(); > Shell shell = new Shell( display ); > shell.setText( "Application Tester" ); > shell.setSize( 800, 600 ); > shell.setLocation( 20, 20 ); > shell.addShellListener( new ShellListener() { > @Override > public void shellActivated( ShellEvent e ) { > } > @Override > public void shellClosed( ShellEvent e ) { > Graphics.stringExtent( e.display.getSystemFont(), "foo-bar" ); > } > @Override > public void shellDeactivated( ShellEvent e ) { > } > } ); > shell.open(); > while( !shell.isDisposed() ) { > if( !display.readAndDispatch() ) { > display.sleep(); > } > } >// display.dispose(); > return 0; > } >}
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 354368
:
204804
| 211281 |
211324
|
211325
|
211333