Revision b0e037f6
Added by Patrick Plitzner almost 9 years ago
- changed "derivate" to "derivatives"
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/handler/OpenDerivateEditorForTaxonHandler.java | ||
---|---|---|
61 | 61 |
} |
62 | 62 |
} |
63 | 63 |
if(derivateUuids.isEmpty()){ |
64 |
MessagingUtils.warningDialog("Could not open Derivate Editor", this, "No Derivates found");
|
|
64 |
MessagingUtils.warningDialog("Could not open Derivative Editor", this, "No Derivatives found");
|
|
65 | 65 |
return null; |
66 | 66 |
} |
67 | 67 |
DerivateViewEditorInput input = new DerivateViewEditorInput(derivateUuids); |
68 | 68 |
try { |
69 | 69 |
EditorUtil.open(input); |
70 | 70 |
} catch (PartInitException e) { |
71 |
MessagingUtils.error(OpenDerivateViewHandler.class, "Could not open Derivate Editor", e); |
|
71 |
MessagingUtils.error(OpenDerivateViewHandler.class, "Could not open Derivative Editor", e);
|
|
72 | 72 |
} catch (NullPointerException npe){ |
73 |
MessagingUtils.messageDialog("Failed to open Editor", OpenDerivateViewHandler.class, "Could not open Derivate Editor. The derivate hierarchy is corrupted!", npe);
|
|
73 |
MessagingUtils.messageDialog("Failed to open Editor", OpenDerivateViewHandler.class, "Could not open Derivative Editor. The derivative hierarchy is corrupted!", npe);
|
|
74 | 74 |
} |
75 | 75 |
} |
76 | 76 |
return null; |
Also available in: Unified diff