debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/wizard/AttachTRKLaunchWizard.java
equal
deleted
inserted
replaced
25 import java.util.List; |
25 import java.util.List; |
26 |
26 |
27 import com.nokia.cdt.debug.cw.symbian.SettingsData; |
27 import com.nokia.cdt.debug.cw.symbian.SettingsData; |
28 |
28 |
29 public class AttachTRKLaunchWizard extends AbstractLaunchWizard { |
29 public class AttachTRKLaunchWizard extends AbstractLaunchWizard { |
|
30 private BuildOptionsSelectionPage fBuildOptionsSelectionPage; |
30 private TRKConnectionWizardPage fMainPage; |
31 private TRKConnectionWizardPage fMainPage; |
31 private boolean hasFinished = false; |
32 private boolean hasFinished = false; |
32 |
33 |
33 public AttachTRKLaunchWizard(List<IPath> mmps, List<IPath> exes, IPath defaultExecutable, IProject project, String configurationName) { |
34 public AttachTRKLaunchWizard(List<IPath> mmps, List<IPath> exes, IPath defaultExecutable, IProject project, String configurationName) { |
34 super(project, configurationName, mmps, exes, defaultExecutable, false, false); |
35 super(project, configurationName, mmps, exes, defaultExecutable, false, false); |
50 return true; |
51 return true; |
51 } |
52 } |
52 |
53 |
53 public void addPages() { |
54 public void addPages() { |
54 super.addPages(); |
55 super.addPages(); |
|
56 fBuildOptionsSelectionPage = new BuildOptionsSelectionPage(); |
55 fMainPage = new TRKConnectionWizardPage(this); |
57 fMainPage = new TRKConnectionWizardPage(this); |
|
58 addPage(fBuildOptionsSelectionPage); |
56 addPage(fMainPage); |
59 addPage(fMainPage); |
57 addPage(getSummaryPage()); |
60 addPage(getSummaryPage()); |
58 } |
61 } |
59 |
62 |
60 public String toString() { |
63 public String toString() { |
78 |
81 |
79 // set the default values |
82 // set the default values |
80 SettingsData.setDefaults(config, SettingsData.LaunchConfig_AppTRK, getProject(), mmpPath, exePath); |
83 SettingsData.setDefaults(config, SettingsData.LaunchConfig_AppTRK, getProject(), mmpPath, exePath); |
81 |
84 |
82 // now let the wizard pages update values |
85 // now let the wizard pages update values |
|
86 fBuildOptionsSelectionPage.updateConfiguration(config); |
83 fMainPage.updateConfiguration(config); |
87 fMainPage.updateConfiguration(config); |
84 |
88 |
85 } catch (CoreException e) { |
89 } catch (CoreException e) { |
86 e.printStackTrace(); |
90 e.printStackTrace(); |
87 } |
91 } |
88 return config; |
92 return config; |
89 } |
93 } |