Revision 37e845b1
Added by Katja Luther about 8 years ago
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/NavigationUtil.java | ||
---|---|---|
74 | 74 |
TaxonNode taxonNode = CdmStore.getService(ITaxonNodeService.class).load(uuidAndTitleCache.getUuid()); |
75 | 75 |
openEditor(taxonNode); |
76 | 76 |
} |
77 |
else if(type.equals(TaxonBase.class)){ |
|
77 |
else if(type.equals(TaxonBase.class) || type.getSuperclass().equals(TaxonBase.class)){
|
|
78 | 78 |
TaxonBase taxonBase = CdmStore.getService(ITaxonService.class).load(uuidAndTitleCache.getUuid()); |
79 | 79 |
openEditor(taxonBase); |
80 | 80 |
} |
... | ... | |
103 | 103 |
EditorUtil.openTaxonBase(entityUuid); |
104 | 104 |
}else if(selectedObject instanceof TaxonNameBase){ |
105 | 105 |
// TODO open bulk editor |
106 |
MessagingUtils.warningDialog("Not implemented yet", NavigationUtil.class, "You tried to open a name. This is not handled by the software yet."); |
|
106 |
MessagingUtils.warningDialog("Not implemented yet", NavigationUtil.class, "You tried to open a name. This is not handled by the software yet. For open a pure name you can use the bulk editor");
|
|
107 | 107 |
}else if(selectedObject instanceof PolytomousKey){ |
108 | 108 |
EditorUtil.openPolytomousKey(entityUuid); |
109 | 109 |
}else{ |
Also available in: Unified diff
fix #5689