debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/PhoneLaunchShortcut.java
changeset 2163 f0a9f2d04d4a
parent 1968 3482df86a51d
equal deleted inserted replaced
2162:aa3898248f39 2163:f0a9f2d04d4a
    20 import org.eclipse.core.resources.IProject;
    20 import org.eclipse.core.resources.IProject;
    21 import org.eclipse.core.runtime.CoreException;
    21 import org.eclipse.core.runtime.CoreException;
    22 import org.eclipse.core.runtime.IPath;
    22 import org.eclipse.core.runtime.IPath;
    23 import org.eclipse.debug.core.ILaunchConfiguration;
    23 import org.eclipse.debug.core.ILaunchConfiguration;
    24 
    24 
    25 import com.nokia.carbide.remoteconnections.interfaces.IService;
       
    26 import com.nokia.cdt.debug.cw.symbian.SettingsData;
    25 import com.nokia.cdt.debug.cw.symbian.SettingsData;
    27 import com.nokia.cdt.internal.debug.launch.LaunchPlugin.ILaunchCreationWizardFactory;
    26 import com.nokia.cdt.internal.debug.launch.LaunchPlugin.ILaunchCreationWizardFactory;
    28 import com.nokia.cdt.internal.debug.launch.newwizard.LaunchWizard;
    27 import com.nokia.cdt.internal.debug.launch.newwizard.LaunchWizard;
    29 import com.nokia.cdt.internal.debug.launch.wizard.ILaunchCreationWizard;
    28 import com.nokia.cdt.internal.debug.launch.wizard.ILaunchCreationWizard;
    30 import com.nokia.cdt.internal.debug.launch.wizard.LaunchOptions;
    29 import com.nokia.cdt.internal.debug.launch.wizard.LaunchOptions;
    43 	@Override
    42 	@Override
    44 	protected void launchProject(IProject project, Executable executable, IPath defaultMMP, String mode) {
    43 	protected void launchProject(IProject project, Executable executable, IPath defaultMMP, String mode) {
    45 		LaunchPlugin.getDefault().launchProject(project, executable, defaultMMP, mode, 
    44 		LaunchPlugin.getDefault().launchProject(project, executable, defaultMMP, mode, 
    46 																new ILaunchCreationWizardFactory() {
    45 																new ILaunchCreationWizardFactory() {
    47 					public ILaunchCreationWizard createLaunchCreationWizard(LaunchOptions launchOptions) throws Exception {
    46 					public ILaunchCreationWizard createLaunchCreationWizard(LaunchOptions launchOptions) throws Exception {
    48 						IService trkService = LaunchPlugin.getRunModeDebugService();
    47 						LaunchWizard launchWizard = new LaunchWizard(launchOptions);
    49 						LaunchWizard launchWizard = new LaunchWizard(launchOptions, trkService);
       
    50 						return launchWizard;
    48 						return launchWizard;
    51 					};
    49 					};
    52 				});
    50 				});
    53 	}
    51 	}
    54 }
    52 }