debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/wizard/AppTRKLaunchWizard.java
equal
deleted
inserted
replaced
27 import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy; |
27 import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy; |
28 |
28 |
29 import java.util.List; |
29 import java.util.List; |
30 |
30 |
31 public class AppTRKLaunchWizard extends AbstractLaunchWizard { |
31 public class AppTRKLaunchWizard extends AbstractLaunchWizard { |
|
32 private BuildOptionsSelectionPage fBuildOptionsSelectionPage; |
32 private TRKConnectionWizardPage fMainPage; |
33 private TRKConnectionWizardPage fMainPage; |
33 private TRKSISSelectionWizardPage fSISSelectionPage; |
34 private TRKSISSelectionWizardPage fSISSelectionPage; |
34 private boolean hasFinished = false; |
35 private boolean hasFinished = false; |
35 |
36 |
36 public AppTRKLaunchWizard(List<IPath> mmps, List<IPath> exes, IPath defaultExecutable, IProject project, String configurationName) { |
37 public AppTRKLaunchWizard(List<IPath> mmps, List<IPath> exes, IPath defaultExecutable, IProject project, String configurationName) { |
53 return true; |
54 return true; |
54 } |
55 } |
55 |
56 |
56 public void addPages() { |
57 public void addPages() { |
57 super.addPages(); |
58 super.addPages(); |
|
59 fBuildOptionsSelectionPage = new BuildOptionsSelectionPage(); |
58 fMainPage = new TRKConnectionWizardPage(this); |
60 fMainPage = new TRKConnectionWizardPage(this); |
59 fSISSelectionPage = new TRKSISSelectionWizardPage(this); |
61 fSISSelectionPage = new TRKSISSelectionWizardPage(this); |
|
62 addPage(fBuildOptionsSelectionPage); |
60 addPage(fMainPage); |
63 addPage(fMainPage); |
61 addPage(fSISSelectionPage); |
64 addPage(fSISSelectionPage); |
62 addPage(getSummaryPage()); |
65 addPage(getSummaryPage()); |
63 MainExecutableSelectionWizardPage binarySelectionPage = getBinarySelectionPage(); |
66 MainExecutableSelectionWizardPage binarySelectionPage = getBinarySelectionPage(); |
64 if (binarySelectionPage != null) { |
67 if (binarySelectionPage != null) { |
93 SettingsData.setDefaults(config, SettingsData.LaunchConfig_AppTRK, getProject(), mmpPath, exePath); |
96 SettingsData.setDefaults(config, SettingsData.LaunchConfig_AppTRK, getProject(), mmpPath, exePath); |
94 if (processToLaunchTargetPath != null) |
97 if (processToLaunchTargetPath != null) |
95 SettingsData.setProcessToLaunch(config, processToLaunchTargetPath); |
98 SettingsData.setProcessToLaunch(config, processToLaunchTargetPath); |
96 |
99 |
97 // now let the wizard pages update values |
100 // now let the wizard pages update values |
|
101 fBuildOptionsSelectionPage.updateConfiguration(config); |
98 fMainPage.updateConfiguration(config); |
102 fMainPage.updateConfiguration(config); |
99 |
|
100 // now let the wizard pages update values |
|
101 fSISSelectionPage.updateConfiguration(config); |
103 fSISSelectionPage.updateConfiguration(config); |
102 |
104 |
103 } catch (CoreException e) { |
105 } catch (CoreException e) { |
104 e.printStackTrace(); |
106 e.printStackTrace(); |
105 } |
107 } |