Revision 99d4f2d2
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/workingSet/CharacterEditor.java | ||
---|---|---|
20 | 20 |
import javax.annotation.PreDestroy; |
21 | 21 |
import javax.inject.Inject; |
22 | 22 |
|
23 |
import org.eclipse.core.runtime.IProgressMonitor; |
|
23 | 24 |
import org.eclipse.e4.ui.di.Focus; |
24 | 25 |
import org.eclipse.e4.ui.di.Persist; |
25 | 26 |
import org.eclipse.e4.ui.model.application.ui.MDirtyable; |
... | ... | |
62 | 63 |
import eu.etaxonomy.taxeditor.session.ICdmEntitySessionEnabled; |
63 | 64 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
64 | 65 |
import eu.etaxonomy.taxeditor.ui.dialog.selection.FeatureTreeSelectionDialog; |
66 |
import eu.etaxonomy.taxeditor.workbench.part.IE4SavablePart; |
|
65 | 67 |
import eu.etaxonomy.taxeditor.workbench.part.IE4ViewerPart; |
66 | 68 |
|
67 | 69 |
/** |
... | ... | |
71 | 73 |
*/ |
72 | 74 |
public class CharacterEditor |
73 | 75 |
implements ICdmEntitySessionEnabled, ISelectionChangedListener, ModifyListener, IE4ViewerPart |
74 |
, IPartContentHasDetails, IPartContentHasSupplementalData{ |
|
76 |
, IPartContentHasDetails, IPartContentHasSupplementalData, IE4SavablePart{
|
|
75 | 77 |
|
76 | 78 |
private FeatureTreeEditorComposite characterTreeEditorComposite; |
77 | 79 |
private FeatureTreeEditorComposite propertiesTreeEditorComposite; |
... | ... | |
226 | 228 |
}); |
227 | 229 |
} |
228 | 230 |
|
231 |
@Override |
|
229 | 232 |
@Persist |
230 |
public void save(){ |
|
233 |
public void save(IProgressMonitor monitor){
|
|
231 | 234 |
if (!conversation.isBound()) { |
232 | 235 |
conversation.bind(); |
233 | 236 |
} |
Also available in: Unified diff
ref #6925 Open "editors" in editor area