Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.ui/src')
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/editor/CDOEditor.java19
1 files changed, 12 insertions, 7 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 3629d64fec..b023fdcf7f 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
@@ -557,19 +557,13 @@ public class CDOEditor extends MultiPageEditorPart implements IEditingDomainProv
*
* @generated
*/
- protected void handleActivate()
+ protected void handleActivateGen()
{
- // Recompute the read only state.
- //
if (editingDomain.getResourceToReadOnlyMap() != null)
{
editingDomain.getResourceToReadOnlyMap().clear();
-
- // Refresh any actions that may become enabled or disabled.
- //
setSelection(getSelection());
}
-
if (!removedResources.isEmpty())
{
if (handleDirtyConflict())
@@ -593,6 +587,17 @@ public class CDOEditor extends MultiPageEditorPart implements IEditingDomainProv
}
/**
+ * Handles activation of the editor or it's associated views. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated NOT
+ */
+ protected void handleActivate()
+ {
+ handleActivateGen();
+ setCurrentViewer(selectionViewer);
+ }
+
+ /**
* Handles what to do with changed resources on activation. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated

Back to the top