summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVeronika Irvine <veronika>2003-08-11 18:31:14 +0000
committerVeronika Irvine <veronika>2003-08-11 18:31:14 +0000
commitee2102f3c8b0b2212c78166bb9c5dfd76cbb6fa2 (patch)
treefac4cd6adfe8d73f8a1b4e290c76fc86118c5dec
parentb442fe081a10b6cf12b9377426105607d8e0a739 (diff)
downloadeclipse.platform.swt-ee2102f3c8b0b2212c78166bb9c5dfd76cbb6fa2.tar.gz
eclipse.platform.swt-ee2102f3c8b0b2212c78166bb9c5dfd76cbb6fa2.tar.xz
eclipse.platform.swt-ee2102f3c8b0b2212c78166bb9c5dfd76cbb6fa2.zip
*** empty log message ***
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolderListener.java14
1 files changed, 12 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolderListener.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolderListener.java
index 2bd7882a7a..85ea564992 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolderListener.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolderListener.java
@@ -10,7 +10,17 @@
*******************************************************************************/
package org.eclipse.swt.custom;
+import org.eclipse.swt.internal.*;
-public interface CTabFolderListener {
- public void itemClosed(CTabFolderEvent event);
+public interface CTabFolderListener extends SWTEventListener {
+
+/**
+ * Sent when the user clicks on the close button of an item in the CTabFolder. The item being closed is specified
+ * in the event.item field. Setting the event.doit field to false will stop the CTabItem from closing.
+ * When the CTabItem is closed, it is disposed. The contents of the CTabItem (see CTabItem#setControl) will be
+ * made not visible when the CTabItem is closed.
+ *
+ * @param e an event indicating the item being closed
+ */
+public void itemClosed(CTabFolderEvent event);
}