Révision 2657
tmp/org.txm.core/src/java/org/txm/core/results/TXMResult.java (revision 2657) | ||
---|---|---|
2351 | 2351 |
this.computingThread = Thread.currentThread(); |
2352 | 2352 |
|
2353 | 2353 |
// FIXME: SJ: Debug tests |
2354 |
boolean debugSlowingProcess = false;
|
|
2354 |
boolean debugSlowingProcess = true;
|
|
2355 | 2355 |
int sleepDuration = 5000; |
2356 | 2356 |
|
2357 | 2357 |
// skip the process if the result is already in computing stage |
tmp/org.txm.rcp/src/main/java/org/txm/rcp/editors/TXMEditor.java (revision 2657) | ||
---|---|---|
1073 | 1073 |
// AdvancedProgressMonitorDialog dialog = new AdvancedProgressMonitorDialog(window.getShell(), editorInput.getResult().getParent()); |
1074 | 1074 |
// FIXME: SJ: finally it may be better to call the current result computing? it will do the parents branch computing but |
1075 | 1075 |
// the main task stays the compute of the result itself, not the parent |
1076 |
|
|
1077 |
if (editorInput.getResult().isDirty()) { |
|
1078 |
StatusLine.setMessage(editorInput.getResult().getComputingStartMessage()); |
|
1079 |
} |
|
1080 |
|
|
1081 |
|
|
1082 |
|
|
1076 | 1083 |
ComputeProgressMonitorDialog dialog = new ComputeProgressMonitorDialog(window.getShell(), editorInput.getResult()); |
1077 | 1084 |
dialog.runComputingProcess(true); |
1078 | 1085 |
|
Formats disponibles : Unified diff