Revision 1718abec
Added by Patrick Plitzner about 5 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/handler/NameEditorMenuPropertyTester.java | ||
---|---|---|
71 | 71 |
if(EMPTY_NAMES.equals(property)){ |
72 | 72 |
return hasEmptyNames(receiver); |
73 | 73 |
} |
74 |
else if(selectedElement==null){
|
|
74 |
else if(!(selectedElement instanceof TaxonBase)){
|
|
75 | 75 |
return false; |
76 | 76 |
} |
77 | 77 |
else if(NOT_ACCEPTED.equals(property)){ |
Also available in: Unified diff
Add initial check for TaxonBase to property tester