Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrbrooks2010-08-23 12:14:29 -0400
committerrbrooks2010-08-23 12:14:29 -0400
commitcbc5e97c56b998adfa0cede78273b1cdd2793b8b (patch)
tree072641fd1c488289e39ede523753ab0495504f94 /plugins/org.eclipse.osee.framework.core.dsl.ui.integration
parent4b465289a472242dc71b7635c8720cfa21995c43 (diff)
downloadorg.eclipse.osee-cbc5e97c56b998adfa0cede78273b1cdd2793b8b.tar.gz
org.eclipse.osee-cbc5e97c56b998adfa0cede78273b1cdd2793b8b.tar.xz
org.eclipse.osee-cbc5e97c56b998adfa0cede78273b1cdd2793b8b.zip
remove unnecessary use of CompositeOperation from SMAWorkFlowTab and OseeTypesExportWizard
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.dsl.ui.integration')
-rw-r--r--plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/wizards/OseeTypesExportWizard.java12
1 files changed, 2 insertions, 10 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/wizards/OseeTypesExportWizard.java b/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/wizards/OseeTypesExportWizard.java
index af27f8af0c..c947ed892d 100644
--- a/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/wizards/OseeTypesExportWizard.java
+++ b/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/wizards/OseeTypesExportWizard.java
@@ -11,14 +11,9 @@
package org.eclipse.osee.framework.core.dsl.ui.integration.wizards;
import java.io.File;
-import java.util.ArrayList;
-import java.util.List;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.wizard.Wizard;
-import org.eclipse.osee.framework.core.dsl.ui.integration.internal.Activator;
import org.eclipse.osee.framework.core.dsl.ui.integration.operations.OseeTypesExportOperation;
-import org.eclipse.osee.framework.core.operation.CompositeOperation;
-import org.eclipse.osee.framework.core.operation.IOperation;
import org.eclipse.osee.framework.core.operation.Operations;
import org.eclipse.ui.IImportWizard;
import org.eclipse.ui.IWorkbench;
@@ -39,11 +34,8 @@ public class OseeTypesExportWizard extends Wizard implements IImportWizard {
@Override
public boolean performFinish() {
- final File folder = mainPage.getFile();
-
- List<IOperation> ops = new ArrayList<IOperation>();
- ops.add(new OseeTypesExportOperation(folder));
- Operations.executeAsJob(new CompositeOperation("Export Osee Type Model", Activator.PLUGIN_ID, ops), true);
+ File folder = mainPage.getFile();
+ Operations.executeAsJob(new OseeTypesExportOperation(folder), true);
return true;
}

Back to the top