diff options
author | Carolyn MacLeod <carolyn> | 2010-05-26 17:58:56 +0000 |
---|---|---|
committer | Carolyn MacLeod <carolyn> | 2010-05-26 17:58:56 +0000 |
commit | 0f960e0b213854d19299aaa9b453b69c8d7ee794 (patch) | |
tree | 4ee2be0a3b8b821c15859cb8b9359d908978f4c3 /bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/ToolItem.java | |
parent | 15bb116304bc8aeea45302e2a4ff1e9abf3dd426 (diff) | |
download | eclipse.platform.swt-0f960e0b213854d19299aaa9b453b69c8d7ee794.tar.gz eclipse.platform.swt-0f960e0b213854d19299aaa9b453b69c8d7ee794.tar.xz eclipse.platform.swt-0f960e0b213854d19299aaa9b453b69c8d7ee794.zip |
Bug 314492 - Do the annual copyright/javadoc bashAFTER_JAVADOC_BASH_FOR_36RC3
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/ToolItem.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/ToolItem.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/ToolItem.java b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/ToolItem.java index 9a8c9e5ab9..c2bd67b18e 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/ToolItem.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/ToolItem.java @@ -187,6 +187,12 @@ int actionProc (int theControl, int partCode) { * the event object detail field contains the value <code>SWT.ARROW</code>. * <code>widgetDefaultSelected</code> is not called. * </p> + * <p> + * When the <code>SWT.RADIO</code> style bit is set, the <code>widgetSelected</code> method is + * also called when the receiver loses selection because another item in the same radio group + * was selected by the user. During <code>widgetSelected</code> the application can use + * <code>getSelection()</code> to determine the current selected state of the receiver. + * </p> * * @param listener the listener which should be notified when the control is selected by the user, * |