Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Pontes2012-07-02 23:44:50 +0000
committerOtavio Pontes2012-07-03 12:24:11 +0000
commit834ebc7cdafb83f61ff3b0ea8426b588de4d775b (patch)
treec170e0c1becb2641e30ddc35c584586ac83bb22d /systemtap/org.eclipse.linuxtools.systemtap.ui.dashboard
parent196e9981b5005d4e419202ffbed7fb7e1da4c947 (diff)
downloadorg.eclipse.linuxtools-834ebc7cdafb83f61ff3b0ea8426b588de4d775b.tar.gz
org.eclipse.linuxtools-834ebc7cdafb83f61ff3b0ea8426b588de4d775b.tar.xz
org.eclipse.linuxtools-834ebc7cdafb83f61ff3b0ea8426b588de4d775b.zip
Systemtap: Replacing access to preferences by non deprecated methods
Diffstat (limited to 'systemtap/org.eclipse.linuxtools.systemtap.ui.dashboard')
-rw-r--r--systemtap/org.eclipse.linuxtools.systemtap.ui.dashboard/src/org/eclipse/linuxtools/systemtap/ui/dashboard/actions/RunModuleAction.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/systemtap/org.eclipse.linuxtools.systemtap.ui.dashboard/src/org/eclipse/linuxtools/systemtap/ui/dashboard/actions/RunModuleAction.java b/systemtap/org.eclipse.linuxtools.systemtap.ui.dashboard/src/org/eclipse/linuxtools/systemtap/ui/dashboard/actions/RunModuleAction.java
index 4840ad0317..3bd602d229 100644
--- a/systemtap/org.eclipse.linuxtools.systemtap.ui.dashboard/src/org/eclipse/linuxtools/systemtap/ui/dashboard/actions/RunModuleAction.java
+++ b/systemtap/org.eclipse.linuxtools.systemtap.ui.dashboard/src/org/eclipse/linuxtools/systemtap/ui/dashboard/actions/RunModuleAction.java
@@ -54,7 +54,6 @@ import org.eclipse.linuxtools.systemtap.ui.graphicalrun.structures.ChartStreamDa
* @author Ryan Morse
*/
-@SuppressWarnings("deprecation")
public class RunModuleAction extends Action implements IViewActionDelegate, IWorkbenchWindowActionDelegate {
// public RunModuleAction(){
// buildEnablementChecks();
@@ -176,7 +175,7 @@ public class RunModuleAction extends Action implements IViewActionDelegate, IWor
fileName = module.script.getAbsolutePath();
String tmpfileName = fileName;
String serverfileName = fileName.substring(fileName.lastIndexOf('/')+1);
- if(ConsoleLogPlugin.getDefault().getPluginPreferences().getBoolean(ConsoleLogPreferenceConstants.REMEMBER_SERVER)!=true &&
+ if(ConsoleLogPlugin.getDefault().getPreferenceStore().getBoolean(ConsoleLogPreferenceConstants.REMEMBER_SERVER)!=true &&
new SelectServerDialog(fWindow.getShell()).open() == false)
return;

Back to the top