Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2011-09-26 14:11:40 +0000
committerDani Megert2011-09-26 15:36:03 +0000
commit0001e9596286871c69a141fa8a2ab4656b048f44 (patch)
treec1ffe722b98887ad0c1b8b50ed6bc5ffb0e89346
parent20fc04ce1be3b26ce99a8e0b515e1029c81a2b70 (diff)
downloadeclipse.platform.ui-0001e9596286871c69a141fa8a2ab4656b048f44.tar.gz
eclipse.platform.ui-0001e9596286871c69a141fa8a2ab4656b048f44.tar.xz
eclipse.platform.ui-0001e9596286871c69a141fa8a2ab4656b048f44.zip
Fixed bug 188651: [jface] Error on disposal of TrayDialogv20110926-1536
-rw-r--r--bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/TrayDialog.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/TrayDialog.java b/bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/TrayDialog.java
index d5d8308d78a..0a63339035f 100644
--- a/bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/TrayDialog.java
+++ b/bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/TrayDialog.java
@@ -208,9 +208,9 @@ public abstract class TrayDialog extends Dialog {
}
/* (non-Javadoc)
- * @see org.eclipse.jface.dialogs.Dialog#close()
+ * @see org.eclipse.jface.window.Window#handleShellCloseEvent()
*/
- public boolean close() {
+ protected void handleShellCloseEvent() {
/*
* Close the tray to ensure that those dialogs that remember their
* size do not store the tray size.
@@ -218,7 +218,8 @@ public abstract class TrayDialog extends Dialog {
if (getTray() != null) {
closeTray();
}
- return super.close();
+
+ super.handleShellCloseEvent();
}
/* (non-Javadoc)

Back to the top