Revision b0e037f6
Added by Patrick Plitzner almost 9 years ago
- changed "derivate" to "derivatives"
eu.etaxonomy.taxeditor.application/OSGI-INF/l10n/plugin.properties | ||
---|---|---|
13 | 13 |
perspective.name = Taxonomic |
14 | 14 |
perspective.name.0 = Polytomous Key |
15 | 15 |
perspective.name.1 = Uses |
16 |
perspective.name.2 = Derivates |
|
16 |
perspective.name.2 = Derivatives
|
|
17 | 17 |
menu.label = General |
18 | 18 |
menu.label.0 = Edit |
19 | 19 |
menu.label.1 = Window |
eu.etaxonomy.taxeditor.editor/OSGI-INF/l10n/plugin.properties | ||
---|---|---|
9 | 9 |
editor.name.2 = Polytomous Key Graph Editor |
10 | 10 |
editor.name.3 = Polytomous Key List Editor |
11 | 11 |
editor.name.4 = Cdm Authority Editor |
12 |
editor.name.5 = Derivate View |
|
12 |
editor.name.5 = Derivative View
|
|
13 | 13 |
view.name = Factual Data |
14 | 14 |
view.name.0 = Uses |
15 | 15 |
view.name.1 = Media |
... | ... | |
52 | 52 |
command.label.29 = Move Elements to Taxon |
53 | 53 |
command.label.30 = Delete |
54 | 54 |
command.label.31 = Save |
55 |
menu.label.2 = New Derivate |
|
55 |
menu.label.2 = New Derivative
|
|
56 | 56 |
command.label.32 = New Use |
57 | 57 |
command.label.33 = New Use Summary |
58 | 58 |
command.label.34 = New Use Record |
... | ... | |
112 | 112 |
command.name.33 = Open Related Concept |
113 | 113 |
category.name.7 = -- Group |
114 | 114 |
command.name.34 = Edit CDM Authorities |
115 |
command.name.35 = Open Derivate View |
|
115 |
command.name.35 = Open Derivative View
|
|
116 | 116 |
scheme.description = The default key binding scheme for the Taxonomic Editor |
117 | 117 |
scheme.name = Taxonomic Editor Default Key Bindings |
118 | 118 |
editor.name.6 = Specimen Import Editor |
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/handler/OpenDerivateViewHandler.java | ||
---|---|---|
47 | 47 |
try { |
48 | 48 |
EditorUtil.open(input); |
49 | 49 |
} catch (PartInitException e) { |
50 |
MessagingUtils.error(OpenDerivateViewHandler.class, "Could not open Derivate Editor", e); |
|
50 |
MessagingUtils.error(OpenDerivateViewHandler.class, "Could not open Derivative Editor", e);
|
|
51 | 51 |
} catch (NullPointerException npe){ |
52 |
MessagingUtils.messageDialog("Failed to open Editor", OpenDerivateViewHandler.class, "Could not open Derivate Editor. The derivate hierarchy is corrupted!", npe); |
|
52 |
MessagingUtils.messageDialog("Failed to open Editor", OpenDerivateViewHandler.class, "Could not open Derivative Editor. The derivate hierarchy is corrupted!", npe);
|
|
53 | 53 |
} |
54 | 54 |
} |
55 | 55 |
else{ |
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/DerivateView.java | ||
---|---|---|
166 | 166 |
DerivateViewEditorInput derivateViewEditorInput = (DerivateViewEditorInput) getEditorInput(); |
167 | 167 |
return derivateViewEditorInput.getName(); |
168 | 168 |
} |
169 |
return "Derivate View"; |
|
169 |
return "Derivative View";
|
|
170 | 170 |
} |
171 | 171 |
|
172 | 172 |
/* (non-Javadoc) |
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; |
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/operation/MoveDerivateOperation.java | ||
---|---|---|
63 | 63 |
derivateView = (DerivateView) getPostOperationEnabled(); |
64 | 64 |
} |
65 | 65 |
if(derivateView==null){ |
66 |
MessagingUtils.operationDialog(this, new NullPointerException("DerivateView was null"), TaxeditorEditorPlugin.PLUGIN_ID, this.getLabel(), getLabel()); |
|
66 |
MessagingUtils.operationDialog(this, new NullPointerException("DerivativeView was null"), TaxeditorEditorPlugin.PLUGIN_ID, this.getLabel(), getLabel());
|
|
67 | 67 |
return Status.CANCEL_STATUS; |
68 | 68 |
} |
69 | 69 |
if(derivateView.isDirty()){ |
... | ... | |
79 | 79 |
return postExecute(null); |
80 | 80 |
} |
81 | 81 |
else{ |
82 |
MessagingUtils.warningDialog("Moving derivate not possible!", derivateView, "Moving \""+derivateView.getLabelProvider().getDerivateText(draggedNode)+"\" to \""+derivateView.getLabelProvider().getDerivateText(targetNode)+"\" is not possible!");
|
|
82 |
MessagingUtils.warningDialog("Moving derivatives not possible!", derivateView, "Moving \""+derivateView.getLabelProvider().getDerivateText(draggedNode)+"\" to \""+derivateView.getLabelProvider().getDerivateText(targetNode)+"\" is not possible!");
|
|
83 | 83 |
} |
84 | 84 |
return Status.CANCEL_STATUS; |
85 | 85 |
} |
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/descriptive/DescriptiveViewPart.java | ||
---|---|---|
150 | 150 |
EditorUtil.open(new DerivateViewEditorInput(specimenUuids)); |
151 | 151 |
} |
152 | 152 |
} catch (PartInitException e) { |
153 |
MessagingUtils.error(DescriptiveViewPart.class, "Could not open Derivate Editor", e); |
|
153 |
MessagingUtils.error(DescriptiveViewPart.class, "Could not open Derivative Editor", e);
|
|
154 | 154 |
} |
155 | 155 |
|
156 | 156 |
|
eu.etaxonomy.taxeditor.store/OSGI-INF/l10n/bundle.properties | ||
---|---|---|
33 | 33 |
view.name.3 = Supplemental Data |
34 | 34 |
view.name.4 = Details |
35 | 35 |
view.name.5 = Use Records |
36 |
view.name.6 = Derivate Search |
|
36 |
view.name.6 = Derivative Search
|
|
37 | 37 |
editor.name = Defined Term Editor |
38 | 38 |
menu.label = Show View |
39 |
command.label = Derivate Search |
|
39 |
command.label = Derivative Search
|
|
40 | 40 |
command.label.0 = Details |
41 | 41 |
command.label.1 = Supplemental |
42 | 42 |
command.label.2 = Datasource |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/derivateSearch/DerivateSearchComposite.java | ||
---|---|---|
68 | 68 |
btnClearTaxon.setImage(ResourceManager.getPluginImage("eu.etaxonomy.taxeditor.store", "icons/trash.gif")); |
69 | 69 |
|
70 | 70 |
lblDerivateType = new Label(this, SWT.NULL); |
71 |
lblDerivateType.setText("Derivate Type"); |
|
71 |
lblDerivateType.setText("Derivative Type");
|
|
72 | 72 |
|
73 | 73 |
comboDerivateType = new Combo(this, SWT.READ_ONLY); |
74 | 74 |
comboDerivateType.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false, false, 1, 1)); |
Also available in: Unified diff