debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/wizard/LaunchCreationWizard.java
branchRCL_2_4
changeset 566 960058f9da89
parent 273 c2533fd23253
child 828 17e718655d73
equal deleted inserted replaced
564:a6c09d1078ae 566:960058f9da89
    14 * Description: 
    14 * Description: 
    15 *
    15 *
    16 */
    16 */
    17 package com.nokia.cdt.internal.debug.launch.wizard;
    17 package com.nokia.cdt.internal.debug.launch.wizard;
    18 
    18 
    19 import com.nokia.carbide.cpp.ui.CarbideUIPlugin;
    19 import java.util.ArrayList;
    20 import com.nokia.carbide.cpp.ui.ICarbideSharedImages;
    20 import java.util.List;
    21 import com.nokia.cdt.debug.cw.symbian.SettingsData;
       
    22 import com.nokia.cdt.internal.debug.launch.LaunchPlugin;
       
    23 import com.nokia.cpp.internal.api.utils.core.*;
       
    24 
    21 
    25 import org.eclipse.core.resources.IProject;
    22 import org.eclipse.core.resources.IProject;
    26 import org.eclipse.core.runtime.CoreException;
    23 import org.eclipse.core.runtime.CoreException;
    27 import org.eclipse.core.runtime.IConfigurationElement;
    24 import org.eclipse.core.runtime.IConfigurationElement;
    28 import org.eclipse.core.runtime.IExtension;
    25 import org.eclipse.core.runtime.IExtension;
    37 import org.eclipse.jface.wizard.Wizard;
    34 import org.eclipse.jface.wizard.Wizard;
    38 import org.eclipse.jface.wizard.WizardDialog;
    35 import org.eclipse.jface.wizard.WizardDialog;
    39 import org.eclipse.swt.widgets.Shell;
    36 import org.eclipse.swt.widgets.Shell;
    40 import org.eclipse.ui.IWorkbench;
    37 import org.eclipse.ui.IWorkbench;
    41 
    38 
    42 import java.util.ArrayList;
    39 import com.nokia.carbide.cpp.ui.CarbideUIPlugin;
    43 import java.util.List;
    40 import com.nokia.carbide.cpp.ui.ICarbideSharedImages;
       
    41 import com.nokia.cdt.debug.cw.symbian.SettingsData;
       
    42 import com.nokia.cdt.internal.debug.launch.LaunchPlugin;
       
    43 import com.nokia.cpp.internal.api.utils.core.Check;
       
    44 import com.nokia.cpp.internal.api.utils.core.Logging;
       
    45 import com.nokia.cpp.internal.api.utils.core.Pair;
    44 
    46 
    45 public class LaunchCreationWizard extends Wizard {
    47 public class LaunchCreationWizard extends Wizard {
    46 
    48 
    47 	private MainExecutableSelectionWizardPage fBinarySelectionPage;
    49 	private MainExecutableSelectionWizardPage fBinarySelectionPage;
    48 	private LaunchWizardSummaryPage fEmulationSummaryPage;
    50 	private LaunchWizardSummaryPage fEmulationSummaryPage;
   132 
   134 
   133     public ILaunchConfigurationWorkingCopy getLaunchConfiguration() {
   135     public ILaunchConfigurationWorkingCopy getLaunchConfiguration() {
   134     	return launchConfig;
   136     	return launchConfig;
   135     }
   137     }
   136     
   138     
   137 	public static int openWizard(Shell shell, LaunchCreationWizard wizard) {
   139 	public int openWizard(Shell shell) {
   138 		WizardDialog dialog = new WizardDialog(shell, wizard);
   140 		WizardDialog dialog = new WizardDialog(shell, this);
   139 		dialog.create();
   141 		dialog.create();
   140 		return dialog.open();
   142 		return dialog.open();
   141 	}
   143 	}
   142 
   144 
   143 	public static IPath getEmulatorPathFromExePath(IPath pathToExe) {
   145 	public static IPath getEmulatorPathFromExePath(IPath pathToExe) {