Project

General

Profile

Revision 437d2b64

ID437d2b647c62996ee929bb05e5a8386f59558e01
Parent 05bb4a08
Child 809f6237

Added by Katja Luther about 2 years ago

minor

View differences:

eu.etaxonomy.taxeditor.editor/OSGI-INF/l10n/plugin.properties
34 34
command.label.12 = Accepted Taxon
35 35
command.label.13 = Synonym
36 36
command.label.14 = Misapplication
37
command.label.61 = Pro Parte Synonym
38 37
command.label.15 = Delete
39 38
command.label.16 = Delete All Empty Names
40 39
command.label.17 = Swap Synonym With Accepted
......
132 131
command.label.60 = Pro Parte Synonym
133 132
command.name.36 = Create Misapplication
134 133
command.name.60 = Create Pro Parte Synonym
135
command.name.61 = Pro Parte Synonym
136

  
137 134
command.name.37 = Use Existing Image
138 135
command.name.38 = Open Distribution Editor
139 136
command.name.39 = New Datasource
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/container/ConceptContainerE4.java
86 86
		List<Language> languages = new ArrayList<>();
87 87
		languages.add(CdmStore.getDefaultLanguage());
88 88
		List<TaggedText> taggedText = misappliedFormatter.getTaggedText(relationship, true, languages, true);
89

  
89 90
		if (taggedText != null){
90 91
    		String title = TaggedCacheHelper.createString(taggedText);
91 92
    		title = title.replace("&", "&&");
92 93
    		setNonEditableInfo(title, false);
93 94
		}
95

  
94 96
	}
95 97

  
96 98
	public Taxon getMisappliedName() {
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/handler/NameEditorMenuPropertyTester.java
210 210
    }
211 211

  
212 212
	public static boolean isAccepted(Object selectedElement) {
213

  
214 213
		return (selectedElement instanceof Taxon  && ! ((Taxon) selectedElement).isMisapplication() && ! ((Taxon) selectedElement).isProparteSynonym()) ? true : false;
215

  
216 214
	}
217 215

  
218 216
	public static boolean isOrphaned(Object selectedElement) {
......
235 233
        }
236 234
        return false;
237 235
    }
238

  
239

  
240 236
}

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)