Révision 3737
TXM/trunk/bundles/org.txm.ahc.rcp/src/org/txm/ahc/rcp/editors/AHCEditor.java (revision 3737) | ||
---|---|---|
140 | 140 |
|
141 | 141 |
// Computing listeners |
142 | 142 |
ComputeSelectionListener computeSelectionListener = new ComputeSelectionListener(this, true); |
143 |
// ComputeKeyListener computeKeyListener = new ComputeKeyListener(this); |
|
144 | 143 |
|
145 | 144 |
// Number of clusters |
146 | 145 |
TXMParameterSpinner clusters = new TXMParameterSpinner(mainParametersArea, this, AHCUIMessages.numberOfClustersColon); |
... | ... | |
162 | 161 |
|
163 | 162 |
// 2D/3D rendering |
164 | 163 |
TXMParameterCombo renderingParameterCombo = new TXMParameterCombo(this.getFirstLineComposite(), this, new String[] {"2D", "3D"}); |
165 |
renderingParameterCombo.getComputingSelectionListener().setAutoCompute(true); |
|
164 |
//renderingParameterCombo.getComputingSelectionListener().setAutoCompute(true);
|
|
166 | 165 |
this.rendering = renderingParameterCombo.getControl(); |
167 | 166 |
if(this.getResult().isRendering2D()) { |
168 | 167 |
this.rendering.select(0); |
TXM/trunk/bundles/org.txm.chartsengine.jfreechart.core/src/org/txm/chartsengine/jfreechart/core/themes/highcharts/defaulttheme/HighchartsDefaultTheme.java (revision 3737) | ||
---|---|---|
289 | 289 |
|
290 | 290 |
|
291 | 291 |
// SJ: to fix a bug with unbreakable space thousands separator that is displayed as a white square glyph with some fonts (#3369) |
292 |
NumberAxis range = (NumberAxis) plot.getRangeAxis(); |
|
293 |
DecimalFormat formatter = (DecimalFormat) DecimalFormat.getInstance(); |
|
294 |
DecimalFormatSymbols symbols = formatter.getDecimalFormatSymbols(); |
|
295 |
|
|
296 |
if((int)symbols.getGroupingSeparator() == 8239) { //unbreakable space char code |
|
297 |
symbols.setGroupingSeparator(' '); //$NON-NLS-1$ |
|
298 |
formatter.setDecimalFormatSymbols(symbols); |
|
299 |
range.setNumberFormatOverride(formatter); |
|
300 |
} |
|
292 |
// NumberAxis range = (NumberAxis) plot.getRangeAxis();
|
|
293 |
// DecimalFormat formatter = (DecimalFormat) DecimalFormat.getInstance();
|
|
294 |
// DecimalFormatSymbols symbols = formatter.getDecimalFormatSymbols();
|
|
295 |
// |
|
296 |
// if((int)symbols.getGroupingSeparator() == 8239) { //unbreakable space char code
|
|
297 |
// symbols.setGroupingSeparator(' '); //$NON-NLS-1$
|
|
298 |
// formatter.setDecimalFormatSymbols(symbols);
|
|
299 |
// range.setNumberFormatOverride(formatter);
|
|
300 |
// }
|
|
301 | 301 |
|
302 | 302 |
|
303 | 303 |
plot.getDomainAxis().setAxisLinePaint(Color.decode("#C0D0E0")); //$NON-NLS-1$ |
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/editors/listeners/ComputeListener.java (revision 3737) | ||
---|---|---|
11 | 11 |
* @author sjacquot |
12 | 12 |
* |
13 | 13 |
*/ |
14 |
// FIXME: became useless? |
|
14 |
// FIXME: SJ: became useless?
|
|
15 | 15 |
// actually this could be useful to pass it all events |
16 | 16 |
@Deprecated |
17 | 17 |
public class ComputeListener extends BaseAbstractComputeListener implements Listener { |
Formats disponibles : Unified diff