Revision 49d3c2dd
Added by Katja Luther over 1 year ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/key/e4/AbstractGraphKeyEditorE4.java | ||
---|---|---|
25 | 25 |
import org.eclipse.zest.layouts.LayoutStyles; |
26 | 26 |
import org.eclipse.zest.layouts.algorithms.TreeLayoutAlgorithm; |
27 | 27 |
|
28 |
import eu.etaxonomy.cdm.api.conversation.IConversationEnabled; |
|
29 | 28 |
import eu.etaxonomy.cdm.model.description.IIdentificationKey; |
30 | 29 |
import eu.etaxonomy.cdm.model.description.PolytomousKeyNode; |
31 |
import eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap; |
|
32 | 30 |
import eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyEditorInput; |
33 | 31 |
import eu.etaxonomy.taxeditor.model.IDirtyMarkable; |
34 | 32 |
import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled; |
... | ... | |
43 | 41 |
* @param <T> |
44 | 42 |
*/ |
45 | 43 |
public abstract class AbstractGraphKeyEditorE4<T extends IIdentificationKey> |
46 |
implements IConversationEnabled, IE4SavablePart, |
|
47 |
IZoomableWorkbenchPart, IPostOperationEnabled, |
|
44 |
implements IE4SavablePart, IZoomableWorkbenchPart, IPostOperationEnabled, |
|
48 | 45 |
IDirtyMarkable { |
49 | 46 |
|
50 | 47 |
protected CdmFormFactory formFactory; |
... | ... | |
72 | 69 |
@Override |
73 | 70 |
@Persist |
74 | 71 |
public void save(IProgressMonitor monitor) { |
75 |
getConversationHolder().commit(true); |
|
76 | 72 |
setDirty(false); |
77 | 73 |
viewer.refresh(); |
78 | 74 |
} |
... | ... | |
123 | 119 |
viewer.refresh(); |
124 | 120 |
} |
125 | 121 |
|
126 |
@Override |
|
127 |
public void update(CdmDataChangeMap changeEvents) { |
|
128 |
|
|
129 |
} |
|
130 |
|
|
131 | 122 |
@Override |
132 | 123 |
public AbstractZoomableViewer getZoomableViewer() { |
133 | 124 |
return viewer; |
Also available in: Unified diff
ref #10186: remove conversation holder