From 86e729ccb9512e0f1aed7943ee76d76475834860 Mon Sep 17 00:00:00 2001
From: Patrick Plitzner
Date: Mon, 4 Jan 2016 08:07:32 +0100
Subject: [PATCH] Fix doc
---
.../editor/view/derivate/DerivateView.java | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/DerivateView.java b/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/DerivateView.java
index 1cc0c6be3..949980cbb 100644
--- a/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/DerivateView.java
+++ b/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/DerivateView.java
@@ -202,7 +202,7 @@ public class DerivateView extends EditorPart implements IPartContentHasFactualDa
//init tree
updateRootEntities();
-// reset status bar
+ //reset status bar
getEditorSite().getActionBars().getStatusLineManager().setMessage("");
//add drag'n'drop support
@@ -221,12 +221,13 @@ public class DerivateView extends EditorPart implements IPartContentHasFactualDa
conversation.bind();
}
/*
- * If the active session is not the session of the Derivate Editor then we will
- * save it, bind temporarily to our session and rebind to the original session.
- * This happens e.g. if a selection change happens in the taxon editor and
- * "Link with editor" is enabled. The selection change event and thus the
- * loading in updateRootEntities() happens in the session of the taxon
- * editor.
+ * If the active session is not the session of the Derivative Editor
+ * then we will save the active session for later, bind temporarily
+ * to our session and rebind to the original session when we are
+ * done. This happens e.g. if a selection change happens in the
+ * taxon editor and "Link with editor" is enabled. The selection
+ * change event and thus the loading in updateRootEntities() happens
+ * in the session of the taxon editor.
*/
ICdmEntitySession previousCdmEntitySession = CdmStore.getCurrentSessionManager().getActiveSession();
if(cdmEntitySession != null) {
--
2.34.1