Révision 2055
tmp/org.txm.progression.rcp/src/org/txm/progression/rcp/chartsengine/events/ProgressionEventCallBack.java (revision 2055) | ||
---|---|---|
271 | 271 |
|
272 | 272 |
updateLinkedConcordanceEditor(linkedEditor2, selectedPointPositions, true); |
273 | 273 |
|
274 |
chartEditor.getComposite().getDisplay().asyncExec(new Runnable() { |
|
275 |
@Override |
|
276 |
public void run() { |
|
277 |
chartEditor.setFocus(); |
|
278 |
chartEditor.getChartComposite().setFocus(); |
|
279 |
} |
|
280 |
}); |
|
281 |
|
|
274 | 282 |
} |
275 | 283 |
}); |
276 | 284 |
|
285 |
|
|
286 |
|
|
277 | 287 |
} |
278 | 288 |
else { |
279 | 289 |
updateLinkedConcordanceEditor(linkedEditor, selectedPointPositions, false); |
290 |
//chartEditor.getChartComposite().setFocus(); |
|
280 | 291 |
} |
281 | 292 |
|
282 |
// give back the focus to chart editor |
|
283 |
chartEditor.setFocus(); |
|
293 |
// give back the focus to chart editor and the chart composite |
|
294 |
//chartEditor.setFocus(); |
|
295 |
//chartEditor.getChartComposite().setFocus(); |
|
284 | 296 |
} |
285 | 297 |
|
286 | 298 |
|
Formats disponibles : Unified diff