Project

General

Profile

« Previous | Next » 

Revision 12257a98

Added by Patrick Plitzner almost 7 years ago

ref #6596 Keep track of active "editor"

  • Add IE4SavablePart to E4 parts that can be saved
  • SaveHandler will recurse through selection providing parts to find savable parts that can be saved

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/DerivateView.java
73 73
import eu.etaxonomy.taxeditor.store.CdmStore;
74 74
import eu.etaxonomy.taxeditor.view.derivateSearch.DerivateContentProvider;
75 75
import eu.etaxonomy.taxeditor.view.derivateSearch.DerivateLabelProvider;
76
import eu.etaxonomy.taxeditor.workbench.part.IE4SavablePart;
76 77

  
77 78
/**
78 79
 * Displays the derivate hierarchy of the specimen specified in the editor input.
......
80 81
 */
81 82
public class DerivateView implements IPartContentHasFactualData, IConversationEnabled,
82 83
        ICdmEntitySessionEnabled, IDirtyMarkable, IPostOperationEnabled, IPartContentHasDetails, IPartContentHasSupplementalData, IPartContentHasMedia,
83
        IContextListener {
84
        IContextListener, IE4SavablePart {
84 85

  
85 86
    private static final String SPECIMEN_EDITOR = Messages.DerivateView_SPECIMEN_EDITOR;
86 87

  
......
316 317
    }
317 318

  
318 319
    @Persist
319
    public void doSave(IProgressMonitor monitor) {
320
    @Override
321
    public void save(IProgressMonitor monitor) {
320 322
        String taskName = Messages.DerivateView_SAVING_HIERARCHY;
321 323
        monitor.beginTask(taskName, 3);
322 324
        if (!conversation.isBound()) {

Also available in: Unified diff