import eu.etaxonomy.cdm.model.taxon.Taxon;
import eu.etaxonomy.cdm.model.taxon.TaxonBase;
import eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap;
-import eu.etaxonomy.taxeditor.propertysheet.name.AcceptedTaxonPropertySource;
import eu.etaxonomy.taxeditor.store.CdmStore;
import eu.etaxonomy.taxeditor.store.preference.PreferencesUtil;
taxon = (Taxon) taxonBase;
}
+ logger.trace(TaxonEditorInput.class.getSimpleName() + " created");
+
return new TaxonEditorInput(taxon, conversation);
}
public static TaxonEditorInput NewEmptyInstance(UUID parentTaxonUuid){
ConversationHolder conversation = CdmStore.NewTransactionalConversation();
- TaxonNameBase name = PreferencesUtil.getInstanceOfPreferredNameClass();
+ TaxonNameBase<?, ?> name = PreferencesUtil.getInstanceOfPreferredNameClass();
Taxon newTaxon = null;
if(parentTaxonUuid == null){
* @see org.eclipse.ui.IEditorInput#getName()
*/
public String getName() {
- TaxonNameBase name = taxon.getName();
+ TaxonNameBase<?, ?> name = taxon.getName();
if (name == null || name.getTitleCache() == null) {
return "New taxon";
} else {