diff options
author | Steve Northover <steve> | 2002-06-14 19:19:34 +0000 |
---|---|---|
committer | Steve Northover <steve> | 2002-06-14 19:19:34 +0000 |
commit | a27fff0058558cf5e2335c08a1ebac8d71edd9bd (patch) | |
tree | 2ed8b644ac88d915ee2e217cd800f99d2299a5de /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolItem.java | |
parent | a3635cd9e0dd7879bc3b3bd73040e191dbd7da50 (diff) | |
download | eclipse.platform.swt-a27fff0058558cf5e2335c08a1ebac8d71edd9bd.tar.gz eclipse.platform.swt-a27fff0058558cf5e2335c08a1ebac8d71edd9bd.tar.xz eclipse.platform.swt-a27fff0058558cf5e2335c08a1ebac8d71edd9bd.zip |
*** empty log message ***
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolItem.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolItem.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolItem.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolItem.java index 1717ddce89..0edc03178e 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolItem.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolItem.java @@ -423,12 +423,10 @@ void hookEvents () { } /** - * Returns <code>true</code> if the receiver is enabled, and - * <code>false</code> otherwise. - * <p> - * A disabled control is typically not selectable from the + * Returns <code>true</code> if the receiver is enabled and all + * of the receiver's ancestors are enabled, and <code>false</code> + * otherwise. A disabled control is typically not selectable from the * user interface and draws with an inactive or "grayed" look. - * </p> * * @return the receiver's enabled state * @@ -436,6 +434,8 @@ void hookEvents () { * <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> + * + * @see #getEnabled */ public boolean isEnabled () { checkWidget(); |