Révision 1936
tmp/org.txm.ca.rcp/src/org/txm/ca/rcp/editors/CAFactorialMapChartEditor.java (revision 1936) | ||
---|---|---|
184 | 184 |
|
185 | 185 |
|
186 | 186 |
// Factors plane selection |
187 |
Label factorsLabel = new Label(this.chartToolBar, SWT.CENTER);
|
|
187 |
CLabel factorsLabel = new CLabel(this.chartToolBar, SWT.CENTER);
|
|
188 | 188 |
factorsLabel.setText(CAUIMessages.axesColon); |
189 | 189 |
this.chartToolBar.addControl(factorsLabel); |
190 | 190 |
|
... | ... | |
195 | 195 |
final ComboViewer plansComboViewer = new ComboViewer(this.chartToolBar); |
196 | 196 |
plansComboViewer.setContentProvider(ArrayContentProvider.getInstance()); |
197 | 197 |
plansComboViewer.setInput(items); |
198 |
this.chartToolBar.addControl(plansComboViewer.getCombo()); |
|
198 | 199 |
|
199 | 200 |
// Preselect the plan from the CA data |
200 | 201 |
if(this.getIntParameterValue(CAPreferences.FIRST_DIMENSION) == 2) { |
... | ... | |
219 | 220 |
// Change factors |
220 | 221 |
if(e.getSource() == plansComboViewer) { |
221 | 222 |
|
222 |
Combo plans = (Combo) e.getSource();
|
|
223 |
Combo plans = (Combo) ((ComboViewer) e.getSource()).getCombo();
|
|
223 | 224 |
|
224 | 225 |
int dimension1 = 1; |
225 | 226 |
int dimension2 = 2; |
Formats disponibles : Unified diff