Révision 1140
tmp/org.txm.core/src/java/org/txm/core/results/TXMResult.java (revision 1140) | ||
---|---|---|
1756 | 1756 |
* @throws CqiClientExceptio |
1757 | 1757 |
* @throws IOException |
1758 | 1758 |
*/ |
1759 |
public boolean compute(IProgressMonitor monitor, boolean deepComputing) throws Exception {
|
|
1759 |
protected boolean compute(IProgressMonitor monitor, boolean deepComputing) throws Exception {
|
|
1760 | 1760 |
|
1761 | 1761 |
// FIXME: see if this skipComputing tests is still useful? is it possible to directly return instead? |
1762 | 1762 |
// en fait voir ChartResult.compute() if(super.compute(monitor, true, false)), je pense que le prob vient du fait que si on retourne false dans TXMResult.compute() alors renderChart() ne sera pas appelé |
tmp/org.txm.edition.rcp/src/org/txm/edition/rcp/editors/SynopticEditionEditor.java (revision 1140) | ||
---|---|---|
554 | 554 |
try { |
555 | 555 |
// ensure all texts have build their page indexes |
556 | 556 |
for (Text t : corpus.getProject().getTexts()) { |
557 |
t.compute(null, true);
|
|
557 |
t.compute(); |
|
558 | 558 |
} |
559 | 559 |
if (openEditions(corpus, text, editionNames)) { |
560 | 560 |
firstPage(); |
... | ... | |
606 | 606 |
public boolean openEditions(CQPCorpus corpus, Text text, String... editionNames) { |
607 | 607 |
|
608 | 608 |
try { |
609 |
text.compute(null, true);
|
|
609 |
text.compute(); |
|
610 | 610 |
} catch (Exception e) { |
611 | 611 |
System.out.println("Error: "+text.getName()+" is not ready to use"); |
612 | 612 |
return false; |
... | ... | |
690 | 690 |
|
691 | 691 |
public void backToText(Text text, String line_wordid) { |
692 | 692 |
try { |
693 |
text.compute(null, true);
|
|
693 |
text.compute(); |
|
694 | 694 |
for (EditionPanel p : editionPanels.values()) { |
695 | 695 |
p.backToText(text, line_wordid); |
696 | 696 |
} |
tmp/org.txm.rcp/src/main/java/org/txm/rcp/handlers/scripts/ExecuteImportScript.java (revision 1140) | ||
---|---|---|
159 | 159 |
this.runInit(monitor); |
160 | 160 |
try { |
161 | 161 |
|
162 |
if (project.compute(monitor, true)) {
|
|
162 |
if (project.compute(monitor)) { |
|
163 | 163 |
|
164 | 164 |
this.releaseSemaphore(); |
165 | 165 |
|
Formats disponibles : Unified diff