Fix doc
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / src / main / java / eu / etaxonomy / taxeditor / editor / view / derivate / DerivateView.java
index 1cc0c6be3a1ad1c8bc09502e19186d5b9bab5dfa..949980cbb20378f4923fef68fc36a7c3d7e7de26 100644 (file)
@@ -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) {