Revision 6f5407a6
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/AbstractCdmEditorPartE4.java | ||
---|---|---|
21 | 21 |
import eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap; |
22 | 22 |
import eu.etaxonomy.taxeditor.model.AbstractUtility; |
23 | 23 |
import eu.etaxonomy.taxeditor.model.IDirtyMarkable; |
24 |
import eu.etaxonomy.taxeditor.workbench.part.ISelectionElementEditingPart; |
|
24 | 25 |
|
25 | 26 |
/** |
26 | 27 |
* @author pplitzner |
27 | 28 |
* @since Aug 10, 2017 |
28 | 29 |
* |
29 | 30 |
*/ |
30 |
public abstract class AbstractCdmEditorPartE4 implements IConversationEnabled, IDirtyMarkable{ |
|
31 |
public abstract class AbstractCdmEditorPartE4 implements IConversationEnabled, IDirtyMarkable, ISelectionElementEditingPart{
|
|
31 | 32 |
|
32 | 33 |
protected AbstractCdmDataViewerE4 viewer; |
33 | 34 |
|
... | ... | |
83 | 84 |
return null; |
84 | 85 |
} |
85 | 86 |
|
87 |
/** |
|
88 |
* {@inheritDoc} |
|
89 |
*/ |
|
90 |
@Override |
|
91 |
public Object getSelectionProvidingPart() { |
|
92 |
return selectionProvidingPart; |
|
93 |
} |
|
94 |
|
|
86 | 95 |
@PreDestroy |
87 | 96 |
public void dispose() { |
88 | 97 |
} |
Also available in: Unified diff
ref #6905, #6597 Allow saving of editor when view is active