Revision 6b626831
Added by Katja Luther almost 7 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/MultiPageTaxonEditor.java | ||
---|---|---|
32 | 32 |
import eu.etaxonomy.cdm.model.name.TaxonName; |
33 | 33 |
import eu.etaxonomy.cdm.model.taxon.Taxon; |
34 | 34 |
import eu.etaxonomy.cdm.model.taxon.TaxonBase; |
35 |
import eu.etaxonomy.cdm.model.taxon.TaxonRelationship; |
|
35 | 36 |
import eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap; |
36 | 37 |
import eu.etaxonomy.taxeditor.editor.internal.TaxeditorEditorPlugin; |
37 | 38 |
import eu.etaxonomy.taxeditor.editor.l10n.Messages; |
... | ... | |
59 | 60 |
*/ |
60 | 61 |
public class MultiPageTaxonEditor extends FormEditor implements |
61 | 62 |
IPartContentHasFactualData, IConversationEnabled, IPostOperationEnabled, |
62 |
IDirtyMarkable, IPartContentHasDetails, ISecuredEditor, IPartContentHasMedia { |
|
63 |
IDirtyMarkable, IPartContentHasDetails, ISecuredEditor, IPartContentHasMedia, ITaxonEditor {
|
|
63 | 64 |
|
64 | 65 |
/** Constant <code>ID="eu.etaxonomy.taxeditor.editor.taxon"{trunked}</code> */ |
65 | 66 |
public static final String ID = "eu.etaxonomy.taxeditor.editor.taxon"; //$NON-NLS-1$ |
... | ... | |
334 | 335 |
container.refresh(); |
335 | 336 |
} |
336 | 337 |
} |
338 |
if (element instanceof TaxonRelationship) { |
|
339 |
TaxonNameEditor page = (TaxonNameEditor) getPage(Page.NAME); |
|
340 |
AbstractGroupedContainer container = page.getContainer(((TaxonRelationship) element).getFromTaxon()); |
|
341 |
if (container != null) { |
|
342 |
container.refresh(); |
|
343 |
} |
|
344 |
} |
|
337 | 345 |
//refresh part title |
338 | 346 |
//TODO: refresh taxon node in taxon navigator |
339 | 347 |
setPartName(); |
Also available in: Unified diff
add ITaxonEditor interface for getting taxon in store package