Revision 150b624d
Added by Patrick Plitzner about 7 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/descriptive/handler/CreateDescriptionHandler.java | ||
---|---|---|
64 | 64 |
operation = createTaxonOperation(event.getCommand().getName(), taxon, postOperationEnabled); |
65 | 65 |
AbstractUtility.executeOperation(operation); |
66 | 66 |
} catch (NotDefinedException e) { |
67 |
MessagingUtils.warn(getClass(), "Command name not set."); |
|
67 |
MessagingUtils.warn(getClass(), "Command name not set."); //$NON-NLS-1$
|
|
68 | 68 |
} |
69 | 69 |
} |
70 | 70 |
// specimen description |
... | ... | |
75 | 75 |
operation = new CreateSpecimenDescriptionOperation(event.getCommand().getName(), EditorUtil.getUndoContext(), (SpecimenOrObservationBase<?>) viewerInput, postOperationEnabled); |
76 | 76 |
AbstractUtility.executeOperation(operation); |
77 | 77 |
} catch (NotDefinedException e) { |
78 |
MessagingUtils.warn(getClass(), "Command name not set."); |
|
78 |
MessagingUtils.warn(getClass(), "Command name not set."); //$NON-NLS-1$
|
|
79 | 79 |
} |
80 | 80 |
} |
81 | 81 |
if(viewerInput instanceof TaxonBase){ |
... | ... | |
83 | 83 |
operation = createTaxonOperation(event.getCommand().getName(), (Taxon) viewerInput, postOperationEnabled); |
84 | 84 |
AbstractUtility.executeOperation(operation); |
85 | 85 |
} catch (NotDefinedException e) { |
86 |
MessagingUtils.warn(getClass(), "Command name not set."); |
|
86 |
MessagingUtils.warn(getClass(), "Command name not set."); //$NON-NLS-1$
|
|
87 | 87 |
} |
88 | 88 |
|
89 | 89 |
} |
Also available in: Unified diff
ref #4611 complete i18n for taxeditor.editor plugin