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 284122 Details for
Bug 566950
SWT Link widget is not accessible through keyboard when disabled first and enabled again.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Snippet for testing.
SnippetLinkNotAccessible.txt (text/plain), 1.63 KB, created by
vikas rao
on 2020-09-14 07:24:00 EDT
(
hide
)
Description:
Snippet for testing.
Filename:
MIME Type:
Creator:
vikas rao
Created:
2020-09-14 07:24:00 EDT
Size:
1.63 KB
patch
obsolete
>import org.eclipse.swt.SWT; >import org.eclipse.swt.layout.GridData; >import org.eclipse.swt.layout.GridLayout; >import org.eclipse.swt.widgets.Composite; >import org.eclipse.swt.widgets.Display; >import org.eclipse.swt.widgets.Link; >import org.eclipse.swt.widgets.Shell; >import org.eclipse.swt.widgets.Text; > >public class SnippetLinkNotAccessible >{ > public static void main(String[] args) > { > Display display = new Display(); > Shell shell = new Shell(display); > shell.setLayout(new GridLayout()); > > Composite comp = new Composite(shell, SWT.NONE); > comp.setLayout(new GridLayout(1, true)); > comp.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); > Text text = new Text(comp, SWT.None); > text.setLayoutData(new GridData()); > text.setText("Press Tab to test the link"); > > Link link = new Link(comp, SWT.NONE); > link.setText("<a>Test Link</a>"); > link.setLayoutData(new GridData()); > link.setEnabled(false); > > link.setEnabled(true); > > Composite comp1 = new Composite(shell, SWT.NONE); > comp1.setLayout(new GridLayout(1, true)); > comp1.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); > Text text1 = new Text(comp1, SWT.None); > text1.setLayoutData(new GridData()); > text1.setText("Press Shift Tab to test the link"); > > 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 566950
: 284122