01: /* Soot - a J*va Optimization Framework
02: * Copyright (C) 2003 Jennifer Lhotak
03: *
04: * This library is free software; you can redistribute it and/or
05: * modify it under the terms of the GNU Lesser General Public
06: * License as published by the Free Software Foundation; either
07: * version 2.1 of the License, or (at your option) any later version.
08: *
09: * This library is distributed in the hope that it will be useful,
10: * but WITHOUT ANY WARRANTY; without even the implied warranty of
11: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12: * Lesser General Public License for more details.
13: *
14: * You should have received a copy of the GNU Lesser General Public
15: * License along with this library; if not, write to the
16: * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17: * Boston, MA 02111-1307, USA.
18: */
19:
20: package ca.mcgill.sable.soot.testing;
21:
22: import org.eclipse.jface.action.*; //import org.eclipse.jface.dialogs.*;
23: //import org.eclipse.jface.preference.PreferenceManager;
24:
25: //import ca.mcgill.sable.soot.SootPlugin;
26: import ca.mcgill.sable.soot.launching.SootLauncher;
27:
28: /**
29: * @author jlhotak
30: *
31: * To change this generated comment edit the template variable "typecomment":
32: * Window>Preferences>Java>Templates.
33: * To enable and disable the creation of type comments go to
34: * Window>Preferences>Java>Code Generation.
35: */
36: public class SootTestingLauncher extends SootLauncher {
37:
38: public void run(IAction action) {
39:
40: super .run(action);
41:
42: /*TestDialog dialog = new TestDialog(window.getShell(),
43: getSootSelection().getProject());
44: dialog.open();
45:
46: IDialogSettings settings = SootPlugin.getDefault().getDialogSettings();
47: System.out.println(settings.get("jimple_button_select"));
48: System.out.println(settings.get("jimp_button_select"));
49: System.out.println(settings.get("grimp_button_select"));
50: System.out.println(settings.get("b_button_select"));
51: System.out.println(settings.get("baf_button_select"));
52: */
53: /*PreferenceManager pm = new PreferenceManager();
54:
55: SootOptionsTreeDialog dialog = new SootOptionsTreeDialog(window.getShell());
56: dialog.open();*/
57:
58: /*TestOutputDialog dialog = new TestOutputDialog(window.getShell(),
59: getSootSelection().getProject());
60: dialog.open();*/
61:
62: }
63:
64: public void setClasspathAppend(String ca) {
65: }
66: }
|