Revision ca9d00b6
Added by Katja Luther over 4 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/checklist/e4/DistributionEditor.java | ||
---|---|---|
94 | 94 |
import eu.etaxonomy.taxeditor.editor.EditorUtil; |
95 | 95 |
import eu.etaxonomy.taxeditor.editor.IDistributionEditor; |
96 | 96 |
import eu.etaxonomy.taxeditor.editor.l10n.Messages; |
97 |
import eu.etaxonomy.taxeditor.event.EventUtility; |
|
98 |
import eu.etaxonomy.taxeditor.event.WorkbenchEventConstants; |
|
97 | 99 |
import eu.etaxonomy.taxeditor.model.AbstractUtility; |
98 | 100 |
import eu.etaxonomy.taxeditor.preference.PreferencesUtil; |
99 | 101 |
import eu.etaxonomy.taxeditor.preference.Resources; |
... | ... | |
462 | 464 |
statusLabelSourceReference.setText(defaultSourceStr); |
463 | 465 |
|
464 | 466 |
button2.setBackground(EditorUtil.getColor(Resources.COLOR_CONTROL_SELECTED)); |
467 |
EventUtility.postEvent(WorkbenchEventConstants.REFRESH_DETAILS, true); |
|
465 | 468 |
} |
466 | 469 |
|
467 | 470 |
}); |
... | ... | |
752 | 755 |
part.setDirty(); |
753 | 756 |
} |
754 | 757 |
|
758 |
@Override |
|
755 | 759 |
public Reference getDefaultSource(){ |
756 | 760 |
return defaultSource; |
757 | 761 |
} |
Also available in: Unified diff
ref #8613: send event to update details view when set default source