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 249238 Details for
Bug 454428
Client Error using Form ImageHyperlink Widget
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.
snippet reproducing the bug
file_454428.txt (text/plain), 1.33 KB, created by
Arnaud MERGEY
on 2014-12-08 08:57:04 EST
(
hide
)
Description:
snippet reproducing the bug
Filename:
MIME Type:
Creator:
Arnaud MERGEY
Created:
2014-12-08 08:57:04 EST
Size:
1.33 KB
patch
obsolete
>package bugsnippet; > > >import org.eclipse.jface.layout.GridDataFactory; >import org.eclipse.swt.SWT; >import org.eclipse.swt.events.SelectionAdapter; >import org.eclipse.swt.events.SelectionEvent; >import org.eclipse.swt.layout.GridData; >import org.eclipse.swt.layout.GridLayout; >import org.eclipse.swt.widgets.Button; >import org.eclipse.swt.widgets.Composite; >import org.eclipse.swt.widgets.Display; >import org.eclipse.ui.forms.widgets.ImageHyperlink; > >public class SnippetContent { > > public static void createContent(final Composite parent) { > Composite composite = new Composite(parent, SWT.NONE); > composite.setLayoutData(new GridData(GridData.FILL_BOTH)); > composite.setLayout(new GridLayout(2, false)); > > final ImageHyperlink hyperLink = new ImageHyperlink(composite,SWT.None); > hyperLink.setText("test"); > hyperLink.setImage(Display.getDefault().getSystemImage(SWT.ICON_WORKING)); > GridDataFactory.fillDefaults().grab(false, false).applyTo(hyperLink); > > Button button = new Button(composite,SWT.PUSH); > button.setText("X"); > GridDataFactory.fillDefaults().applyTo(button); > button.addSelectionListener(new SelectionAdapter() { > > @Override > public void widgetSelected(SelectionEvent e) { > hyperLink.setText(null); > hyperLink.setImage(null); > hyperLink.setEnabled(false); > } > > }); > > } > >}
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 454428
: 249238