Revision 52f1ea68
Added by Alex Theys almost 12 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/uses/UsesLabelProvider.java | ||
---|---|---|
40 | 40 |
if (!((CategoricalData) element).getStates().isEmpty()) { |
41 | 41 |
for (StateData statedata : ((CategoricalData) element).getStates()) { |
42 | 42 |
if(statedata.getState() != null && statedata.getModifyingText().get(CdmStore.getDefaultLanguage()) !=null && statedata.getModifyingText().get(CdmStore.getDefaultLanguage()).getText().equals("Use Category")) { |
43 |
text = text + statedata.getState().getTitleCache() + "; ";
|
|
43 |
text = text + statedata.getState().getTitleCache() + ";"; |
|
44 | 44 |
} |
45 | 45 |
} |
46 | 46 |
for (StateData statedata : ((CategoricalData) element).getStates()) { |
47 | 47 |
if(statedata.getState() != null && statedata.getModifyingText().get(CdmStore.getDefaultLanguage()) !=null && statedata.getModifyingText().get(CdmStore.getDefaultLanguage()).getText().equals("Use SubCategory")) { |
48 |
text = text + statedata.getState().getTitleCache() + "; ";
|
|
48 |
text = text + statedata.getState().getTitleCache() + ";"; |
|
49 | 49 |
} |
50 | 50 |
} |
51 | 51 |
} |
... | ... | |
55 | 55 |
modifier.getVocabulary(); |
56 | 56 |
} |
57 | 57 |
for (Modifier modifier: ((CategoricalData) element).getModifiers()){ |
58 |
if(GetVocabularyType(modifier, "Country")) {
|
|
59 |
text = text + modifier.getTitleCache()+ "; ";
|
|
58 |
if(GetVocabularyType(modifier, "Plant Part")) {
|
|
59 |
text = text + modifier.getTitleCache()+ ";"; |
|
60 | 60 |
} |
61 | 61 |
|
62 | 62 |
} |
63 | 63 |
for (Modifier modifier: ((CategoricalData) element).getModifiers()){ |
64 |
if(GetVocabularyType(modifier, "Plant Part")) {
|
|
65 |
text = text + modifier.getTitleCache()+ "; ";
|
|
64 |
if(GetVocabularyType(modifier, "Human Group")) {
|
|
65 |
text = text + modifier.getTitleCache()+ ";"; |
|
66 | 66 |
} |
67 | 67 |
|
68 | 68 |
} |
69 | 69 |
for (Modifier modifier: ((CategoricalData) element).getModifiers()){ |
70 |
if(GetVocabularyType(modifier, "Human Group")) {
|
|
71 |
text = text + modifier.getTitleCache()+ "; ";
|
|
70 |
if(GetVocabularyType(modifier, "Ethnic Group")) {
|
|
71 |
text = text + modifier.getTitleCache()+ ";"; |
|
72 | 72 |
} |
73 | 73 |
|
74 | 74 |
} |
75 | 75 |
for (Modifier modifier: ((CategoricalData) element).getModifiers()){ |
76 |
if(GetVocabularyType(modifier, "Ethnic Group")) {
|
|
77 |
text = text + modifier.getTitleCache()+ "; ";
|
|
76 |
if(GetVocabularyType(modifier, "Country")) {
|
|
77 |
text = text + modifier.getTitleCache()+ ";"; |
|
78 | 78 |
} |
79 | 79 |
|
80 | 80 |
} |
Also available in: Unified diff
AT: committing Palm extension changes to the taxeditor