Révision 1605
| tmp/org.txm.rcp/src/main/java/org/txm/rcp/editors/TableLinesViewerComparator.java (revision 1605) | ||
|---|---|---|
| 172 | 172 |
} |
| 173 | 173 |
|
| 174 | 174 |
/** |
| 175 |
* Adds some selection adapters to all column between the specified indexes range to manage the lines sorting. |
|
| 175 |
* Adds some selection adapters to all columns between the specified indexes range to manage the lines sorting.
|
|
| 176 | 176 |
* @param viewer |
| 177 | 177 |
* @param startingColIndex |
| 178 | 178 |
* @param endingColIndex |
| ... | ... | |
| 188 | 188 |
} |
| 189 | 189 |
|
| 190 | 190 |
/** |
| 191 |
* Adds some selection adapters to all column that have a non empty header label. |
|
| 191 |
* Adds some selection adapters to all columns that have a non empty header label.
|
|
| 192 | 192 |
* @param viewer |
| 193 | 193 |
*/ |
| 194 | 194 |
public void addSelectionAdapters(final TableViewer viewer) {
|
| tmp/org.txm.rcp/src/main/java/org/txm/rcp/editors/TXMEditor.java (revision 1605) | ||
|---|---|---|
| 709 | 709 |
|
| 710 | 710 |
@Override |
| 711 | 711 |
public void setFocus() {
|
| 712 |
// this.resultArea.setFocus(); |
|
| 712 | 713 |
// FIXME SJ: this code leads to a bug, the focus must not be regiven to the main parameter after each computing |
| 713 | 714 |
// if (mainParametersComposite != null && !mainParametersComposite.isDisposed()) {
|
| 714 | 715 |
// mainParametersComposite.setFocus(); |
| tmp/org.txm.chartsengine.rcp/src/org/txm/chartsengine/rcp/swt/SwingChartComposite.java (revision 1605) | ||
|---|---|---|
| 209 | 209 |
public void requestFocusInComposite() {
|
| 210 | 210 |
EventQueue.invokeLater(new Runnable () {
|
| 211 | 211 |
public void run () {
|
| 212 |
((Component) chartComponent).requestFocusInWindow(); |
|
| 212 |
if(chartComponent != null) {
|
|
| 213 |
((Component) chartComponent).requestFocusInWindow(); |
|
| 214 |
} |
|
| 213 | 215 |
} |
| 214 | 216 |
}); |
| 215 | 217 |
} |
Formats disponibles : Unified diff