Revision 86e729cc
Added by Patrick Plitzner about 8 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/DerivateView.java | ||
---|---|---|
202 | 202 |
|
203 | 203 |
//init tree |
204 | 204 |
updateRootEntities(); |
205 |
// reset status bar
|
|
205 |
//reset status bar
|
|
206 | 206 |
getEditorSite().getActionBars().getStatusLineManager().setMessage(""); |
207 | 207 |
|
208 | 208 |
//add drag'n'drop support |
... | ... | |
221 | 221 |
conversation.bind(); |
222 | 222 |
} |
223 | 223 |
/* |
224 |
* If the active session is not the session of the Derivate Editor then we will |
|
225 |
* save it, bind temporarily to our session and rebind to the original session. |
|
226 |
* This happens e.g. if a selection change happens in the taxon editor and |
|
227 |
* "Link with editor" is enabled. The selection change event and thus the |
|
228 |
* loading in updateRootEntities() happens in the session of the taxon |
|
229 |
* editor. |
|
224 |
* If the active session is not the session of the Derivative Editor |
|
225 |
* then we will save the active session for later, bind temporarily |
|
226 |
* to our session and rebind to the original session when we are |
|
227 |
* done. This happens e.g. if a selection change happens in the |
|
228 |
* taxon editor and "Link with editor" is enabled. The selection |
|
229 |
* change event and thus the loading in updateRootEntities() happens |
|
230 |
* in the session of the taxon editor. |
|
230 | 231 |
*/ |
231 | 232 |
ICdmEntitySession previousCdmEntitySession = CdmStore.getCurrentSessionManager().getActiveSession(); |
232 | 233 |
if(cdmEntitySession != null) { |
Also available in: Unified diff
Fix doc