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 277014 Details for
Bug 543065
Menu.setVisible behaves differently in SWT
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.
Minimal createContents that reproduces this issue
menusetVisible.txt (text/plain), 542 bytes, created by
Hiromu Hota
on 2018-12-27 18:21:56 EST
(
hide
)
Description:
Minimal createContents that reproduces this issue
Filename:
MIME Type:
Creator:
Hiromu Hota
Created:
2018-12-27 18:21:56 EST
Size:
542 bytes
patch
obsolete
>public class App extends AbstractEntryPoint { > public void createContents( Composite parent ) { > Button bn = new Button(parent.getShell(), SWT.FLAT); > bn.setText("Right Click to see the popup menu"); > > final Menu popupMenu = new Menu( parent.getShell() ); > MenuItem newItem = new MenuItem(popupMenu, SWT.NONE); > newItem.setText("New"); > > bn.addMouseListener( new MouseAdapter() { > @Override > public void mouseDown( MouseEvent e ) { > popupMenu.setVisible( true ); > } > }); > } >}
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 543065
: 277014