Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnithra P Janakiraman2010-11-03 03:32:57 -0400
committerAnithra P Janakiraman2010-11-03 03:32:57 -0400
commitc907c92dec3808b274a51c4247650a41bb9b1906 (patch)
tree29bd2e941c15237a8df26cbe8d8bbe83e82e451a /systemtap/org.eclipse.linuxtools.systemtap.ui.graphicalrun
parent73df4fa42bae1908c78fb3ffc01d99905c4c2b96 (diff)
downloadorg.eclipse.linuxtools-c907c92dec3808b274a51c4247650a41bb9b1906.tar.gz
org.eclipse.linuxtools-c907c92dec3808b274a51c4247650a41bb9b1906.tar.xz
org.eclipse.linuxtools-c907c92dec3808b274a51c4247650a41bb9b1906.zip
2010-11-03 Anithra P Janakiraman <anithra@linux.vnet.ibm.com>
Bug #324405 Some minor changes that take care of the warnings.
Diffstat (limited to 'systemtap/org.eclipse.linuxtools.systemtap.ui.graphicalrun')
-rw-r--r--systemtap/org.eclipse.linuxtools.systemtap.ui.graphicalrun/ChangeLog5
-rw-r--r--systemtap/org.eclipse.linuxtools.systemtap.ui.graphicalrun/src/org/eclipse/linuxtools/systemtap/ui/graphicalrun/actions/ModifyParsingAction.java1
-rw-r--r--systemtap/org.eclipse.linuxtools.systemtap.ui.graphicalrun/src/org/eclipse/linuxtools/systemtap/ui/graphicalrun/actions/RunScriptChartAction.java11
3 files changed, 16 insertions, 1 deletions
diff --git a/systemtap/org.eclipse.linuxtools.systemtap.ui.graphicalrun/ChangeLog b/systemtap/org.eclipse.linuxtools.systemtap.ui.graphicalrun/ChangeLog
index 199e567564..8ca13bf4d0 100644
--- a/systemtap/org.eclipse.linuxtools.systemtap.ui.graphicalrun/ChangeLog
+++ b/systemtap/org.eclipse.linuxtools.systemtap.ui.graphicalrun/ChangeLog
@@ -1,3 +1,8 @@
+2010-11-03 Anithra P Janakiraman <anithra@linux.vnet.ibm.com>
+
+ * src/org/eclipse/linuxtools/systemtap/ui/graphicalrun/actions/ModifyParsingAction.java (run):
+ * src/org/eclipse/linuxtools/systemtap/ui/graphicalrun/actions/RunScriptChartAction.java (dataSet):
+
2010-06-07 Anithra P Janakiraman <anithra@linux.vnet.ibm.com>
* plugin.xml: Removing invalid Menu Extensions
diff --git a/systemtap/org.eclipse.linuxtools.systemtap.ui.graphicalrun/src/org/eclipse/linuxtools/systemtap/ui/graphicalrun/actions/ModifyParsingAction.java b/systemtap/org.eclipse.linuxtools.systemtap.ui.graphicalrun/src/org/eclipse/linuxtools/systemtap/ui/graphicalrun/actions/ModifyParsingAction.java
index c6498e5c90..73320e7ace 100644
--- a/systemtap/org.eclipse.linuxtools.systemtap.ui.graphicalrun/src/org/eclipse/linuxtools/systemtap/ui/graphicalrun/actions/ModifyParsingAction.java
+++ b/systemtap/org.eclipse.linuxtools.systemtap.ui.graphicalrun/src/org/eclipse/linuxtools/systemtap/ui/graphicalrun/actions/ModifyParsingAction.java
@@ -48,6 +48,7 @@ public class ModifyParsingAction extends ConsoleAction implements IWorkbenchWind
* Finally, it will dispose of the old <code>ChartStreamDaemon2</code> and add an new
* one in its place.
*/
+ @SuppressWarnings("unchecked")
public void run() {
DataSetWizard wizard = new DataSetWizard(GraphingConstants.DataSetMetaData, getFilePath());
IWorkbench workbench = PlatformUI.getWorkbench();
diff --git a/systemtap/org.eclipse.linuxtools.systemtap.ui.graphicalrun/src/org/eclipse/linuxtools/systemtap/ui/graphicalrun/actions/RunScriptChartAction.java b/systemtap/org.eclipse.linuxtools.systemtap.ui.graphicalrun/src/org/eclipse/linuxtools/systemtap/ui/graphicalrun/actions/RunScriptChartAction.java
index 3900a3911f..3ee2175e31 100644
--- a/systemtap/org.eclipse.linuxtools.systemtap.ui.graphicalrun/src/org/eclipse/linuxtools/systemtap/ui/graphicalrun/actions/RunScriptChartAction.java
+++ b/systemtap/org.eclipse.linuxtools.systemtap.ui.graphicalrun/src/org/eclipse/linuxtools/systemtap/ui/graphicalrun/actions/RunScriptChartAction.java
@@ -13,6 +13,7 @@ package org.eclipse.linuxtools.systemtap.ui.graphicalrun.actions;
import org.eclipse.jface.wizard.WizardDialog;
+
import org.eclipse.ui.IViewPart;
import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.IWorkbenchPage;
@@ -44,6 +45,7 @@ import org.eclipse.linuxtools.systemtap.ui.ide.structures.StapErrorParser;
* and send the output to both the <code>ScriptConsole</code> window and a <code>DataSet</code>.
* @author Ryan Morse
*/
+@SuppressWarnings("deprecation")
public class RunScriptChartAction extends RunScriptAction implements IWorkbenchWindowActionDelegate {
public RunScriptChartAction() {
super();
@@ -151,7 +153,14 @@ public class RunScriptChartAction extends RunScriptAction implements IWorkbenchW
}
- private boolean useOptions = false;
+ /* protected String getFilePath() {
+
+ IEditorPart ed = fWindow.getActivePage().getActiveEditor();
+ return ((PathEditorInput)ed.getEditorInput()).getPath().toString();
+
+ }*/
+
+ //private boolean useOptions = false;
private IDataSet dataSet = null;
private IDataSetParser parser = null;

Back to the top