Révision 1875
| tmp/org.txm.rcp/src/main/java/org/txm/rcp/editors/TXMEditor.java (revision 1875) | ||
|---|---|---|
| 803 | 803 |
// } |
| 804 | 804 |
|
| 805 | 805 |
/** |
| 806 |
* Computes the TXMResult if all necessary parameters are set then refreshes the editor UI.
|
|
| 807 |
* Also loads and savesd some parameters from result to Widgets fields and from Widgets fields to result.
|
|
| 806 |
* Computes the TXMResult if all required parameters are set then refreshes the editor UI.
|
|
| 807 |
* Also loads and saves some parameters from result to Widgets fields and from Widgets fields to result. |
|
| 808 | 808 |
* |
| 809 | 809 |
* @param result |
| 810 | 810 |
* @param update force the editor to update its result parameters |
| ... | ... | |
| 838 | 838 |
@Override |
| 839 | 839 |
public void run() {
|
| 840 | 840 |
|
| 841 |
// FIXME: SJ: tests to enable/disable when computing |
|
| 841 |
// FIXME: SJ: tests to enable/disable the editor widgets when computing
|
|
| 842 | 842 |
//recursiveSetEnabled(false); |
| 843 | 843 |
|
| 844 | 844 |
if(update) {
|
| ... | ... | |
| 860 | 860 |
Log.finer("TXMEditor.compute(): " + TXMEditor.this.getClass().getSimpleName() + ": manually updating result from editor."); //$NON-NLS-1$
|
| 861 | 861 |
updateResultFromEditor(); |
| 862 | 862 |
|
| 863 |
// auto updating result from Parameter annotations in result <=> editor
|
|
| 863 |
// auto updating result parameters from parameter annotations of editor
|
|
| 864 | 864 |
Log.finer("TXMEditor.compute(): " + TXMEditor.this.getClass().getSimpleName() + ": auto updating result from editor."); //$NON-NLS-1$
|
| 865 | 865 |
autoUpdateResultFromEditorParameters(); |
| 866 | 866 |
|
| ... | ... | |
| 912 | 912 |
|
| 913 | 913 |
StatusLine.setMessage(null); |
| 914 | 914 |
|
| 915 |
// FIXME: SJ: tests to enable/disable when computing |
|
| 915 |
// FIXME: SJ: tests to enable/disable the editor widgets when computing
|
|
| 916 | 916 |
//recursiveSetEnabled(true); |
| 917 | 917 |
|
| 918 | 918 |
} catch (Exception e) {
|
Formats disponibles : Unified diff