debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/wizard/Trace32LaunchWizard.java
equal
deleted
inserted
replaced
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 Trace32LaunchWizard extends AbstractLaunchWizard { |
29 public class Trace32LaunchWizard extends AbstractLaunchWizard { |
30 |
30 |
|
31 private BuildOptionsSelectionPage fBuildOptionsSelectionPage; |
31 private Trace32WizardPage fTrace32Page; |
32 private Trace32WizardPage fTrace32Page; |
32 private StopModeRomImageWizardPage fRomImgPage; |
33 private StopModeRomImageWizardPage fRomImgPage; |
33 |
34 |
34 private boolean hasFinished = false; |
35 private boolean hasFinished = false; |
35 |
36 |
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 fTrace32Page = new Trace32WizardPage(this); |
60 fTrace32Page = new Trace32WizardPage(this); |
59 fRomImgPage = new StopModeRomImageWizardPage(this); |
61 fRomImgPage = new StopModeRomImageWizardPage(this); |
|
62 addPage(fBuildOptionsSelectionPage); |
60 addPage(fTrace32Page); |
63 addPage(fTrace32Page); |
61 addPage(fRomImgPage); |
64 addPage(fRomImgPage); |
62 addPage(getSummaryPage()); |
65 addPage(getSummaryPage()); |
63 } |
66 } |
64 |
67 |
83 |
86 |
84 // set the default values |
87 // set the default values |
85 SettingsData.setDefaults(config, SettingsData.LaunchConfig_Trace32, getProject(), mmpPath, exePath); |
88 SettingsData.setDefaults(config, SettingsData.LaunchConfig_Trace32, getProject(), mmpPath, exePath); |
86 |
89 |
87 // now let the wizard pages update values |
90 // now let the wizard pages update values |
|
91 fBuildOptionsSelectionPage.updateConfiguration(config); |
88 fTrace32Page.updateConfiguration(config); |
92 fTrace32Page.updateConfiguration(config); |
89 fRomImgPage.updateConfiguration(config); |
93 fRomImgPage.updateConfiguration(config); |
90 |
94 |
91 } catch (CoreException e) { |
95 } catch (CoreException e) { |
92 e.printStackTrace(); |
96 e.printStackTrace(); |