import java.util.Arrays;
-import eu.etaxonomy.cdm.model.agent.INomenclaturalAuthor;
import eu.etaxonomy.cdm.model.name.NonViralName;
import eu.etaxonomy.taxeditor.model.AuthorHelper;
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
if (eventSource == toggleable_cache) {
getEntity().setAuthorshipCache(toggleable_cache.getText(),
toggleable_cache.getState());
- if (!isIrrelevant())
+ if (!isIrrelevant()){
setIrrelevant(toggleable_cache.getState(),
Arrays.asList(new Object[] { toggleable_cache }));
+ }
} else if (eventSource == selection_combinationAuthorTeam) {
getEntity().setCombinationAuthorTeam(
- (INomenclaturalAuthor) selection_combinationAuthorTeam
- .getSelection());
+ selection_combinationAuthorTeam.getSelection());
} else if (eventSource == selection_exCombinationAuthorTeam) {
getEntity().setExCombinationAuthorTeam(
- (INomenclaturalAuthor) selection_exCombinationAuthorTeam
- .getSelection());
+ selection_exCombinationAuthorTeam.getSelection());
} else if (eventSource == selection_basionymAuthorTeam) {
getEntity().setBasionymAuthorTeam(
- (INomenclaturalAuthor) selection_basionymAuthorTeam
- .getSelection());
+ selection_basionymAuthorTeam.getSelection());
} else if (eventSource == selection_exBasionymAuthorTeam) {
getEntity().setExBasionymAuthorTeam(
- (INomenclaturalAuthor) selection_exBasionymAuthorTeam
- .getSelection());
+ selection_exBasionymAuthorTeam.getSelection());
}
// if (eventSource != toggleable_cache) {