Révision 1703
tmp/org.txm.rcp/src/main/java/org/txm/rcp/editors/TXMEditor.java (revision 1703) | ||
---|---|---|
710 | 710 |
@Override |
711 | 711 |
public void setFocus() { |
712 | 712 |
// this.resultArea.setFocus(); |
713 |
// FIXME SJ: this code leads to a bug, the focus must not be regiven to the main parameter after each computing |
|
713 |
// FIXME SJ: this code leads to a bug, the focus must not be regiven to the main parameter after each computing of all result editors
|
|
714 | 714 |
// if (mainParametersComposite != null && !mainParametersComposite.isDisposed()) { |
715 | 715 |
// mainParametersComposite.setFocus(); |
716 | 716 |
// } |
... | ... | |
964 | 964 |
if (!wasAlreadyOpened) { |
965 | 965 |
editor.compute(false); |
966 | 966 |
} |
967 |
else { |
|
968 |
editor.setFocus(); |
|
969 |
} |
|
967 |
// else {
|
|
968 |
// editor.setFocus();
|
|
969 |
// }
|
|
970 | 970 |
} |
971 | 971 |
catch (Exception e) { |
972 | 972 |
// TODO Auto-generated catch block |
... | ... | |
1713 | 1713 |
} |
1714 | 1714 |
} |
1715 | 1715 |
|
1716 |
/** |
|
1717 |
* @return the parent |
|
1718 |
*/ |
|
1719 |
public Composite getParent() { |
|
1720 |
return parent; |
|
1721 |
} |
|
1722 |
|
|
1716 | 1723 |
} |
Formats disponibles : Unified diff