Revision 40a8056b
Added by Katja Luther over 6 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/TaxonNameEditorE4.java | ||
---|---|---|
226 | 226 |
if(conversation!=null && !conversation.isBound()){ |
227 | 227 |
conversation.bind(); |
228 | 228 |
} |
229 |
|
|
229 | 230 |
if(input!=null){ |
230 | 231 |
if (getSelectedContainer() == null) { |
231 | 232 |
throw new IllegalStateException( |
232 | 233 |
Messages.TaxonNameEditor_THERE_SHOULD_ALWAYS_BE); |
233 | 234 |
} |
234 | 235 |
getSelectedContainer().setSelected(); |
236 |
input.bind(); |
|
235 | 237 |
|
236 | 238 |
// check permissions |
237 | 239 |
boolean doEnable = permissionsSatisfied(); |
... | ... | |
340 | 342 |
monitor.beginTask(Messages.TaxonNameEditor_SAVING_NAMES, getGroupedContainers().size()); |
341 | 343 |
if (!conversation.isBound()) { |
342 | 344 |
conversation.bind(); |
345 |
|
|
343 | 346 |
} |
347 |
conversation.commit(true); |
|
344 | 348 |
monitor.worked(1); |
345 | 349 |
|
346 | 350 |
// check for empty names |
Also available in: Unified diff
bind session when changing already opened name editor