87 t32BootConfigLabel.setText(Messages.getString("Trace32WizardPage.2")); //$NON-NLS-1$ |
87 t32BootConfigLabel.setText(Messages.getString("Trace32WizardPage.2")); //$NON-NLS-1$ |
88 data = new GridData(); |
88 data = new GridData(); |
89 data.horizontalSpan = 3; |
89 data.horizontalSpan = 3; |
90 t32BootConfigLabel.setLayoutData(data); |
90 t32BootConfigLabel.setLayoutData(data); |
91 t32BootConfigLabel.setToolTipText(Messages.getString("Trace32WizardPage.3")); //$NON-NLS-1$ |
91 t32BootConfigLabel.setToolTipText(Messages.getString("Trace32WizardPage.3")); //$NON-NLS-1$ |
|
92 t32BootConfigLabel.setData(".uid", "Trace32WizardPage.t32BootConfigLabel"); |
92 |
93 |
93 t32BootConfigFilePath = new Text(composite, SWT.BORDER); |
94 t32BootConfigFilePath = new Text(composite, SWT.BORDER); |
94 data = new GridData(GridData.FILL_HORIZONTAL); |
95 data = new GridData(GridData.FILL_HORIZONTAL); |
95 data.horizontalSpan = 2; |
96 data.horizontalSpan = 2; |
96 t32BootConfigFilePath.setLayoutData(data); |
97 t32BootConfigFilePath.setLayoutData(data); |
97 t32BootConfigFilePath.setToolTipText(Messages.getString("Trace32WizardPage.3")); //$NON-NLS-1$ |
98 t32BootConfigFilePath.setToolTipText(Messages.getString("Trace32WizardPage.3")); //$NON-NLS-1$ |
|
99 t32BootConfigFilePath.setData(".uid", "Trace32WizardPage.t32BootConfigFilePath"); |
98 |
100 |
99 t32BootConfigFileBrowse = ControlFactory.createPushButton(composite, Messages.getString("Trace32WizardPage.9")); //$NON-NLS-1$ |
101 t32BootConfigFileBrowse = ControlFactory.createPushButton(composite, Messages.getString("Trace32WizardPage.9")); //$NON-NLS-1$ |
100 t32BootConfigFileBrowse.addSelectionListener(new SelectionAdapter() { |
102 t32BootConfigFileBrowse.addSelectionListener(new SelectionAdapter() { |
101 |
|
102 public void widgetSelected(SelectionEvent evt) { |
103 public void widgetSelected(SelectionEvent evt) { |
103 FileDialog dialog = new FileDialog(getShell(), SWT.NONE); |
104 FileDialog dialog = new FileDialog(getShell(), SWT.NONE); |
104 |
105 |
105 dialog.setText(Messages.getString("Trace32WizardPage.4")); //$NON-NLS-1$ |
106 dialog.setText(Messages.getString("Trace32WizardPage.4")); //$NON-NLS-1$ |
106 dialog.setFilterExtensions(new String[] {"*.cmm*", "*.*"}); //$NON-NLS-1$ //$NON-NLS-2$ |
107 dialog.setFilterExtensions(new String[] {"*.cmm*", "*.*"}); //$NON-NLS-1$ //$NON-NLS-2$ |
110 if (result != null && new File(result).exists()) { |
111 if (result != null && new File(result).exists()) { |
111 t32BootConfigFilePath.setText(result); |
112 t32BootConfigFilePath.setText(result); |
112 } |
113 } |
113 } |
114 } |
114 }); |
115 }); |
115 |
116 t32BootConfigFileBrowse.setData(".uid", "Trace32WizardPage.t32BootConfigFileBrowse"); |
116 |
117 |
117 final Label processorsLabel = new Label(composite, SWT.NONE); |
118 final Label processorsLabel = new Label(composite, SWT.NONE); |
118 processorsLabel.setText(Messages.getString("Trace32WizardPage.7")); //$NON-NLS-1$ |
119 processorsLabel.setText(Messages.getString("Trace32WizardPage.7")); //$NON-NLS-1$ |
119 data = new GridData(); |
120 data = new GridData(); |
120 data.horizontalSpan = 3; |
121 data.horizontalSpan = 3; |
121 processorsLabel.setLayoutData(data); |
122 processorsLabel.setLayoutData(data); |
122 processorsLabel.setToolTipText(Messages.getString("Trace32WizardPage.8")); //$NON-NLS-1$ |
123 processorsLabel.setToolTipText(Messages.getString("Trace32WizardPage.8")); //$NON-NLS-1$ |
123 |
124 processorsLabel.setData(".uid", "Trace32WizardPage.processorsLabel"); |
|
125 |
124 processorsList = new Combo(composite, SWT.READ_ONLY); |
126 processorsList = new Combo(composite, SWT.READ_ONLY); |
125 processorsList.setItems(new String[] { "ARM920T", "ARM926TEJ", "ARM1136EJ-S", "OMAP3xx", "OMAP15xx", "OMAP16xx", "OMAP24xx", "OMAP34xx", "Generic" }); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$ //$NON-NLS-8$ //$NON-NLS-9$ //$NON-NLS-10$ |
127 processorsList.setItems(new String[] { "ARM920T", "ARM926TEJ", "ARM1136EJ-S", "OMAP3xx", "OMAP15xx", "OMAP16xx", "OMAP24xx", "OMAP34xx", "Generic" }); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$ //$NON-NLS-8$ //$NON-NLS-9$ //$NON-NLS-10$ |
126 processorsList.select(8); //by default, select the generic |
128 processorsList.select(8); //by default, select the generic |
127 data = new GridData(GridData.HORIZONTAL_ALIGN_FILL); |
129 data = new GridData(GridData.HORIZONTAL_ALIGN_FILL); |
128 data.horizontalSpan = 3; |
130 data.horizontalSpan = 3; |
129 processorsList.setLayoutData(data); |
131 processorsList.setLayoutData(data); |
130 processorsList.setToolTipText(Messages.getString("Trace32WizardPage.8")); //$NON-NLS-1$ |
132 processorsList.setToolTipText(Messages.getString("Trace32WizardPage.8")); //$NON-NLS-1$ |
131 |
133 processorsList.setData(".uid", "Trace32WizardPage.processorsList"); |
|
134 |
132 setControl(composite); |
135 setControl(composite); |
133 Dialog.applyDialogFont(parent); |
136 Dialog.applyDialogFont(parent); |
134 setPageComplete(true); |
137 setPageComplete(true); |
135 } |
138 } |
136 |
139 |