Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2020-06-17 04:55:34 +0000
committerEike Stepper2020-06-17 04:55:34 +0000
commitf1657e6326497d146e8165b48186ac1c15315342 (patch)
treed7e0ffda016d549efe41b4588502394241b341eb
parent2ccbdc952f0a6052334df0b70bc167b99fd57663 (diff)
downloadcdo-f1657e6326497d146e8165b48186ac1c15315342.tar.gz
cdo-f1657e6326497d146e8165b48186ac1c15315342.tar.xz
cdo-f1657e6326497d146e8165b48186ac1c15315342.zip
[564301] CDOModelEditorInput.getObjectID() does not work
https://bugs.eclipse.org/bugs/show_bug.cgi?id=564301
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/editor/CDOEditor.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/editor/CDOEditor.java b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/editor/CDOEditor.java
index bdb0534314..7efd014e96 100644
--- a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/editor/CDOEditor.java
+++ b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/editor/CDOEditor.java
@@ -50,6 +50,7 @@ import org.eclipse.emf.internal.cdo.view.CDOStateMachine;
import org.eclipse.net4j.util.AdapterUtil;
import org.eclipse.net4j.util.ReflectUtil;
import org.eclipse.net4j.util.StringUtil;
+import org.eclipse.net4j.util.lifecycle.LifecycleUtil;
import org.eclipse.net4j.util.om.OMPlatform;
import org.eclipse.net4j.util.om.trace.ContextTracer;
import org.eclipse.net4j.util.ui.actions.LongRunningAction;
@@ -2771,7 +2772,7 @@ public class CDOEditor extends MultiPageEditorPart implements IEditingDomainProv
if (((CDOEditorInput)getEditorInput()).isViewOwned())
{
- view.close();
+ LifecycleUtil.deactivate(view);
}
super.dispose();

Back to the top