Révision 3725
TXM/trunk/bundles/org.txm.ahc.rcp/src/org/txm/ahc/rcp/editors/AHCEditor.java (revision 3725) | ||
---|---|---|
145 | 145 |
this.numberOfClusters = clusters.getSpinner(); |
146 | 146 |
this.numberOfClusters.setMinimum(2); |
147 | 147 |
|
148 |
// CLabel clustersLabel = new CLabel(this.chartToolBar, SWT.CENTER); |
|
149 |
// clustersLabel.setText(AHCUIMessages.numberOfClustersColon); |
|
150 |
// this.chartToolBar.addControl(clustersLabel); |
|
151 |
// |
|
152 |
// this.numberOfClusters = new Spinner(this.chartToolBar, SWT.BORDER); |
|
153 |
// this.numberOfClusters.setMinimum(2); |
|
154 |
// this.numberOfClusters.setIncrement(1); |
|
155 |
// this.chartToolBar.addControl(this.numberOfClusters); |
|
156 |
// this.numberOfClusters.addKeyListener(computeKeyListener); |
|
157 |
// this.numberOfClusters.addModifyListener(computeKeyListener); |
|
158 |
|
|
159 |
|
|
160 | 148 |
// Columns |
161 | 149 |
this.columnsComputing = new ToolItem(this.chartToolBar, SWT.RADIO); |
162 | 150 |
this.columnsComputing.setToolTipText(AHCUIMessages.computeColumns); |
... | ... | |
174 | 162 |
this.rendering2D.setText("2D -> 3D"); //$NON-NLS-1$ |
175 | 163 |
this.rendering2D.addSelectionListener(computeSelectionListener); |
176 | 164 |
|
177 |
// FIXME: temporary fix, later must enable the font, rendering mode, etc. in R calls |
|
165 |
// FIXME: SJ: temporary fix, later must enable the font, rendering mode, etc. in R calls
|
|
178 | 166 |
// disable all component of the rendering tool bar |
179 | 167 |
this.advancedChartToolBar.setEnabled(false); |
180 | 168 |
|
... | ... | |
207 | 195 |
|
208 | 196 |
this.rowsComputing.setSelection(!ahc.isColumnsComputing()); |
209 | 197 |
|
210 |
if (this.getResult().isRendering2D()) |
|
198 |
if (this.getResult().isRendering2D()) {
|
|
211 | 199 |
this.rendering2D.setText("2D -> 3D"); //$NON-NLS-1$ |
212 |
else |
|
200 |
} |
|
201 |
else { |
|
213 | 202 |
this.rendering2D.setText("3D -> 2D"); //$NON-NLS-1$ |
203 |
} |
|
214 | 204 |
} |
215 | 205 |
|
216 | 206 |
} |
Formats disponibles : Unified diff