import org.eclipse.core.commands.operations.IOperationHistory;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.Status;
import org.eclipse.e4.ui.di.UISynchronize;
import org.eclipse.ui.ide.undo.WorkspaceUndoUtil;
return initiallySelectedTaxonBase;
}
- public Set<AbstractPostOperation> getOperations() {
- return operations;
- }
-
- public void setOperations(Set<AbstractPostOperation> operations) {
- this.operations = operations;
- }
-
public void addOperation(AbstractPostOperation operation) {
this.operations.add(operation);
}
String operationlabel = entry.getLabel();
try {
entry.addContext(IOperationHistory.GLOBAL_UNDO_CONTEXT);
- status = entry.execute(null, uiInfoAdapter);
+ status = entry.execute(new NullProgressMonitor(), uiInfoAdapter);
} catch (ExecutionException e) {
MessagingUtils.operationDialog(AbstractUtility.class, e, TaxeditorStorePlugin.PLUGIN_ID, operationlabel, null);