diff options
author | Carolyn MacLeod <carolyn> | 2006-05-03 19:39:51 +0000 |
---|---|---|
committer | Carolyn MacLeod <carolyn> | 2006-05-03 19:39:51 +0000 |
commit | d79eab99302156361be3efdbad9f0c456e32bf0a (patch) | |
tree | d15863213c938a5e826dd7a861a759c624582d9e /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TabFolder.java | |
parent | 6668e3c7722f160d75069effdbbb9d5090a8d083 (diff) | |
download | eclipse.platform.swt-d79eab99302156361be3efdbad9f0c456e32bf0a.tar.gz eclipse.platform.swt-d79eab99302156361be3efdbad9f0c456e32bf0a.tar.xz eclipse.platform.swt-d79eab99302156361be3efdbad9f0c456e32bf0a.zip |
Javadoc basher output for 3.2RC3
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TabFolder.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TabFolder.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TabFolder.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TabFolder.java index a0ba45a6d3..a1c1342795 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TabFolder.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TabFolder.java @@ -628,6 +628,23 @@ void setSelection (int index, boolean notify) { } } +/** + * Sets the receiver's selection to the given item. + * The current selected is first cleared, then the new item is + * selected. + * + * @param item the item to select + * + * @exception IllegalArgumentException <ul> + * <li>ERROR_NULL_ARGUMENT - if the item is null</li> + * </ul> + * @exception SWTException <ul> + * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> + * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> + * </ul> + * + * @since 3.2 + */ public void setSelection (TabItem item) { if (item == null) error (SWT.ERROR_NULL_ARGUMENT); setSelection (new TabItem [] {item}); |