aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWojciech Sudol2014-02-24 03:35:31 (EST)
committerGerrit Code Review @ Eclipse.org2014-02-24 10:27:33 (EST)
commita6aa7e0b19a5f402abc23c6b8b8420935164416e (patch)
treea88eabfab3598fbd4d2d14f178ee917836633e0d
parent1b58a7af4ebb93f4d66f2a6466d155d5fc31c60f (diff)
downloadeclipse.platform.ui-a6aa7e0b19a5f402abc23c6b8b8420935164416e.zip
eclipse.platform.ui-a6aa7e0b19a5f402abc23c6b8b8420935164416e.tar.gz
eclipse.platform.ui-a6aa7e0b19a5f402abc23c6b8b8420935164416e.tar.bz2
Bug 379142 - [Compatilibility][Regression] Editor-contributed actionsrefs/changes/20/18020/5
disabled when closing editor and switching to same type Change-Id: I28ed7ba07abdcb615e7bef1a40536b181ccbebe2 Signed-off-by: Wojciech Sudol <wojciech.sudol@pl.ibm.com>
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/e4/compatibility/CompatibilityPart.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/e4/compatibility/CompatibilityPart.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/e4/compatibility/CompatibilityPart.java
index ad46946..ff0d8d8 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/e4/compatibility/CompatibilityPart.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/e4/compatibility/CompatibilityPart.java
@@ -47,7 +47,6 @@ import org.eclipse.ui.internal.ErrorEditorPart;
import org.eclipse.ui.internal.ErrorViewPart;
import org.eclipse.ui.internal.PartSite;
import org.eclipse.ui.internal.SaveableHelper;
-import org.eclipse.ui.internal.ViewSite;
import org.eclipse.ui.internal.WorkbenchPage;
import org.eclipse.ui.internal.WorkbenchPartReference;
import org.eclipse.ui.internal.WorkbenchPlugin;
@@ -389,7 +388,6 @@ public abstract class CompatibilityPart implements ISelectionChangedListener {
* but must call <code>super.disposeSite()</code> in its implementation.
*/
void disposeSite(PartSite site) {
- site.deactivateActionBars(site instanceof ViewSite);
site.dispose();
}