@Override
public boolean equals(Object obj) {
if (TaxonEditorInput.class.equals(obj.getClass())
- && getTaxonNode() != null
- && getTaxonNode().equals(((TaxonEditorInput) obj).getTaxonNode())
- ){
- if(((TaxonEditorInput) obj).getInitiallySelectedTaxonBase() != null){
+ && getTaxon() != null
+ && getTaxon().equals(((TaxonEditorInput) obj).getTaxon())) {
+ if (((TaxonEditorInput) obj).getInitiallySelectedTaxonBase() != null){
setInitiallySelectedTaxonBase(((TaxonEditorInput) obj).getInitiallySelectedTaxonBase());
}
return true;
@Override
public void merge() {
CdmStore.getService(ITaxonNodeService.class).merge(taxonNode, true);
-
+
}
@Override