aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWojciech Sudol2014-02-24 03:35:31 (EST)
committerPaul Webster2014-04-15 10:34:22 (EDT)
commitfd4f2609bf9bce0e161bc7c775627d7ba444b580 (patch)
treee1fb07f02c8508a8b0726fc07f658281c112a79a
parent1a26077d10229de80817654c07e49a298085bf75 (diff)
downloadeclipse.platform.ui-fd4f2609bf9bce0e161bc7c775627d7ba444b580.zip
eclipse.platform.ui-fd4f2609bf9bce0e161bc7c775627d7ba444b580.tar.gz
eclipse.platform.ui-fd4f2609bf9bce0e161bc7c775627d7ba444b580.tar.bz2
Bug 379142 - [Compatilibility][Regression] Editor-contributed actions
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 202cd83..bbe3495 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
@@ -52,7 +52,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;
@@ -411,7 +410,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();
}