Révision 1463
tmp/org.txm.rcp/src/main/java/org/txm/rcp/swt/widget/ThresholdsGroup.java (revision 1463) | ||
---|---|---|
100 | 100 |
this.setText(TXMCoreMessages.common_thresholds); |
101 | 101 |
|
102 | 102 |
// Computing listeners |
103 |
//ComputeSelectionListener computeSelectionListener = new ComputeSelectionListener(editor, autoCompute);
|
|
103 |
ComputeSelectionListener computeSelectionListener = new ComputeSelectionListener(editor, autoCompute); |
|
104 | 104 |
ComputeKeyListener computeKeyListener = new ComputeKeyListener(editor); |
105 | 105 |
|
106 | 106 |
GridLayout gridLayout = new GridLayout(); |
... | ... | |
157 | 157 |
vMaxSpinner.setLayoutData(fieldsGridData); |
158 | 158 |
|
159 | 159 |
fMinSpinner.addKeyListener(computeKeyListener); |
160 |
// fMinSpinner.addSelectionListener(computeSelectionListener);
|
|
160 |
fMinSpinner.addSelectionListener(computeSelectionListener); |
|
161 | 161 |
|
162 | 162 |
if(displayFMax) { |
163 | 163 |
fMaxSpinner.addKeyListener(computeKeyListener); |
164 |
// fMaxSpinner.addSelectionListener(computeSelectionListener);
|
|
164 |
fMaxSpinner.addSelectionListener(computeSelectionListener); |
|
165 | 165 |
} |
166 | 166 |
|
167 | 167 |
vMaxSpinner.addKeyListener(computeKeyListener); |
168 |
//vMaxSpinner.addSelectionListener(computeSelectionListener);
|
|
168 |
vMaxSpinner.addSelectionListener(computeSelectionListener); |
|
169 | 169 |
} |
170 | 170 |
|
171 | 171 |
/** |
Formats disponibles : Unified diff