Revision ae137b34
Added by Patrick Plitzner about 7 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/key/polytomous/PolytomousKeyListLabelProvider.java | ||
---|---|---|
36 | 36 |
SWT.COLOR_BLUE); |
37 | 37 |
private Styler styler; |
38 | 38 |
|
39 |
private static final String EMPTY = ""; |
|
39 |
private static final String EMPTY = ""; //$NON-NLS-1$
|
|
40 | 40 |
// TODO make this configurable via preferences |
41 |
private static final String INCREMENTOR_CHARACTER = "'"; |
|
41 |
private static final String INCREMENTOR_CHARACTER = "'"; //$NON-NLS-1$
|
|
42 | 42 |
|
43 | 43 |
/* |
44 | 44 |
* (non-Javadoc) |
... | ... | |
109 | 109 |
|
110 | 110 |
private String getItemNumber(PolytomousKeyNode node) { |
111 | 111 |
if (isParentRoot(node)) { |
112 |
return "root"; |
|
112 |
return "root"; //$NON-NLS-1$
|
|
113 | 113 |
} else { |
114 | 114 |
|
115 | 115 |
String itemNumber = (node.getParent().getNodeNumber() != null) ? node.getParent().getNodeNumber().toString() : EMPTY; |
... | ... | |
137 | 137 |
|
138 | 138 |
private String getItemQuestion(PolytomousKeyNode node) { |
139 | 139 |
if (isParentRoot(node)) { |
140 |
return ""; |
|
140 |
return ""; //$NON-NLS-1$
|
|
141 | 141 |
} else { |
142 | 142 |
KeyStatement question = getParent(node).getQuestion(); |
143 | 143 |
return question != null ? CdmUtils.Nz(question.getLabelText(CdmStore.getDefaultLanguage())) : EMPTY; |
Also available in: Unified diff
ref #4611 some l10n for taxeditor and taxeditor.editor plugin