package eu.etaxonomy.taxeditor.bulkeditor;
+import org.eclipse.core.commands.operations.IUndoContext;
+import org.eclipse.core.commands.operations.UndoContext;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.jface.dialogs.MessageDialog;
private boolean isDirty;
+ private IUndoContext undoContext;
+
public BulkEditor() {
super(CdmStore.createConversation());
+ undoContext = new UndoContext();
}
/** {@inheritDoc} */
}
conversation.clear();
conversation.commit(true);
-
+
getEditorInput().dispose();
getEditorInput().bind();
getEditorInput().performSearch(query);
public boolean canAttachMedia() {
return getEditorInput() instanceof TaxonEditorInput?true:false;
}
+
+ public IUndoContext getUndoContext() {
+ return undoContext;
+ }
}