diff options
Diffstat (limited to 'plugins/org.eclipse.osee.framework.ui.skynet/src')
2 files changed, 4 insertions, 5 deletions
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/BlamEditor.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/BlamEditor.java index 2bc8d28f6e6..8aaa1732525 100644 --- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/BlamEditor.java +++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/BlamEditor.java @@ -13,7 +13,6 @@ package org.eclipse.osee.framework.ui.skynet.blam; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.jobs.IJobChangeEvent; import org.eclipse.core.runtime.jobs.JobChangeAdapter; -import org.eclipse.osee.framework.core.exception.OseeArgumentException; import org.eclipse.osee.framework.jdk.core.util.Lib; import org.eclipse.osee.framework.logging.OseeLevel; import org.eclipse.osee.framework.logging.OseeLog; @@ -86,11 +85,11 @@ public class BlamEditor extends FormEditor implements IDirtiableEditor { return super.getAdapter(adapter); } - private VariableMap getBlamVariableMap() throws OseeArgumentException { + private VariableMap getBlamVariableMap() { return overviewPage.getInput(); } - public void executeBlam() throws OseeArgumentException { + public void executeBlam() { getEditorInput().getBlamOperation().execute(overviewPage.getReporter(), getBlamVariableMap(), new BlamEditorExecutionAdapter()); } diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/DynamicBlamOperation.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/DynamicBlamOperation.java index c55873b1d81..1eb0ae67867 100644 --- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/DynamicBlamOperation.java +++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/DynamicBlamOperation.java @@ -38,7 +38,7 @@ public abstract class DynamicBlamOperation { operationFactory.createInstallOperation(site.getCurrentConfiguredSite(), feature, null, null, null); } - public void init() throws IllegalArgumentException, IllegalAccessException, InvocationTargetException, NoSuchMethodException, OseeArgumentException { + public void init() throws IllegalArgumentException, NoSuchMethodException, OseeArgumentException { mainMethod = findMainMethod(getMainMethodName()); String[] parameterNames = getParameterNames(); @@ -59,7 +59,7 @@ public abstract class DynamicBlamOperation { mainMethod.invoke(this, actualParameters); } - private Method findMainMethod(String mainMethodName) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException, NoSuchMethodException { + private Method findMainMethod(String mainMethodName) throws IllegalArgumentException, NoSuchMethodException { Class<? extends DynamicBlamOperation> classRep = getClass(); Method[] methods = classRep.getDeclaredMethods(); // get only the methods declared directly in the given class |