aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWojciech Sudol2014-02-24 03:35:31 (EST)
committerPaul Webster2014-04-15 10:50:17 (EDT)
commit67f07efb00a2bfef8e94e8864693bda06be5931a (patch)
tree93811c47c9e79596ab54edc3dc4127f25ecf0faa
parent95132c5bfa61546ce0fbf31a324b8be3809cf3b3 (diff)
downloadeclipse.platform.ui-67f07efb00a2bfef8e94e8864693bda06be5931a.zip
eclipse.platform.ui-67f07efb00a2bfef8e94e8864693bda06be5931a.tar.gz
eclipse.platform.ui-67f07efb00a2bfef8e94e8864693bda06be5931a.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 4f5d95f..b4e0eca 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
@@ -50,7 +50,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;
@@ -407,7 +406,6 @@ public abstract class CompatibilityPart implements ISelectionChangedListener {
* but must call <code>super.disposeSite()</code> in its implementation.
*/
void disposeSite(PartSite site) {
- deactivateActionBars(site instanceof ViewSite);
site.dispose();
}