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 177800 Details for
Bug 324048
Tab traversal of radio buttons has wrong order
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
Snippet.java (text/plain), 1.82 KB, created by
Elias Volanakis
on 2010-08-30 23:20:34 EDT
(
hide
)
Description:
Snippet
Filename:
MIME Type:
Creator:
Elias Volanakis
Created:
2010-08-30 23:20:34 EDT
Size:
1.82 KB
patch
obsolete
>/******************************************************************************* > * Copyright (c) 2007, 2010 compeople AG and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at > * http://www.eclipse.org/legal/epl-v10.html > * > * Contributors: > * compeople AG - initial API and implementation > *******************************************************************************/ >package org.eclipse.riena.sample.snippets; > >import org.eclipse.swt.SWT; >import org.eclipse.swt.layout.FillLayout; >import org.eclipse.swt.layout.GridLayout; >import org.eclipse.swt.widgets.Button; >import org.eclipse.swt.widgets.Composite; >import org.eclipse.swt.widgets.Control; >import org.eclipse.swt.widgets.Display; >import org.eclipse.swt.widgets.Shell; >import org.eclipse.swt.widgets.Text; > >/** > * > */ >public class Snippet { > > public static void main(final String[] args) { > final Display display = Display.getDefault(); > final Shell shell = new Shell(display); > shell.setLayout(new FillLayout()); > > final Composite parent = new Composite(shell, SWT.NONE); > parent.setLayout(new GridLayout(6, true)); > > new Text(parent, SWT.BORDER); > new Button(parent, SWT.RADIO).setText("RadioA"); > new Button(parent, SWT.RADIO).setText("RadioB"); > new Button(parent, SWT.CHECK).setText("CheckA"); > new Button(parent, SWT.CHECK).setText("CheckB"); > > System.out.println("Shell.getTabList() :"); > for (final Control c : shell.getTabList()) { > System.out.println(" " + c); // where are the radio buttons ?? > } > > 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 324048
: 177800