public static String ConceptContainer_SEC_REQUIRED;
public static String ConceptGraphView_VIEWER_NAME;
public static String ConceptViewPart_VIEWER_NAME;
- public static String CreateFieldUnitContextMenu_CREATE_FIELD_UNIT;
public static String CreateFieldUnitContextMenu_CREATE_FIELD_UNIT_FOR;
public static String DefaultOpenSpecimenEditorForTypeSpecimenHandler_COULD_NOT_OPEN;
public static String DefaultOpenTaxonEditorForTaxonBaseHandler_COULD_NOT_OPEN;
-CreateFieldUnitContextMenu_CREATE_FIELD_UNIT=Create new field unit
CreateFieldUnitContextMenu_CREATE_FIELD_UNIT_FOR=Create new field unit for %s
SingleReadSequenceContextMenu_REMOVE_FROM_SEQUENCE=Remove from this Sequence
SingleReadSequenceContextMenu_REUSE_FOR_SEQUENCE=Reuse for other Sequence
-CreateFieldUnitContextMenu_CREATE_FIELD_UNIT=Erzeuge neue Field Unit
CreateFieldUnitContextMenu_CREATE_FIELD_UNIT_FOR=Erzeuge neue Field Unit für %s
SingleReadSequenceContextMenu_REMOVE_FROM_SEQUENCE=Von Sequenz entfernen
SingleReadSequenceContextMenu_REUSE_FOR_SEQUENCE=Für andere Sequenz verwenden
public void selectionChanged(@Optional @Named(IServiceConstants.ACTIVE_SELECTION) ISelection selection,
@Named(IServiceConstants.ACTIVE_PART) MPart activePart, MPart thisPart)
{
- if(activePart == this || viewer==null){
+ if(activePart == thisPart || viewer==null){
return;
}
if(viewer.getTree().isDisposed()){
FieldUnit fieldUnit = FieldUnit.NewInstance();
fieldUnit = CdmBase.deproxy(CdmStore.getService(IOccurrenceService.class).save(fieldUnit), FieldUnit.class);
+
IndividualsAssociation association = IndividualsAssociation.NewInstance(fieldUnit);
TaxonDescription description;
if(!taxon.getDescriptions().isEmpty()){
derivateView.getConversationHolder().commit();
derivateView.addFieldUnit(fieldUnit);
+ derivateView.updateRootEntities();
derivateView.refreshTree(fieldUnit);
}
}
}
FieldUnit fieldUnit = FieldUnit.NewInstance();
fieldUnit = CdmBase.deproxy(CdmStore.getService(IOccurrenceService.class).save(fieldUnit), FieldUnit.class);
+
derivateView.getConversationHolder().commit();
derivateView.addFieldUnit(fieldUnit);
derivateView.updateRootEntities();