Révision 547
| tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/corpus/Part.java (revision 547) | ||
|---|---|---|
| 67 | 67 |
this.partition = partition; |
| 68 | 68 |
|
| 69 | 69 |
// FIXME: to validate |
| 70 |
//this.partition.addChild(this);
|
|
| 70 |
// this.partition.addChild(this);
|
|
| 71 | 71 |
} |
| 72 | 72 |
|
| 73 | 73 |
/** |
| tmp/org.txm.rcp/src/main/java/org/txm/rcp/commands/ComputeTXMResult.java (revision 547) | ||
|---|---|---|
| 19 | 19 |
|
| 20 | 20 |
TXMEditorPart editor = (TXMEditorPart)page; |
| 21 | 21 |
editor.getResultData().setDirty(); //TODO: MD: I had to add this to recompute the concordance when the query field has been modified |
| 22 |
editor.updateResultFromEditor(); |
|
| 22 | 23 |
editor.compute(true); |
| 23 | 24 |
|
| 24 | 25 |
return null; |
| tmp/org.txm.core/src/java/org/txm/core/results/TXMResult.java (revision 547) | ||
|---|---|---|
| 254 | 254 |
* |
| 255 | 255 |
* @return |
| 256 | 256 |
*/ |
| 257 |
public boolean saveParameters() {
|
|
| 258 |
return true; // true means the compute method will not fail |
|
| 259 |
} |
|
| 257 |
public abstract boolean saveParameters(); |
|
| 260 | 258 |
|
| 259 |
public abstract boolean setParameters(TXMParameters parameters); |
|
| 260 |
public abstract boolean loadParameters(); |
|
| 261 |
|
|
| 262 |
|
|
| 261 | 263 |
/** |
| 262 | 264 |
* Deletes the object from its parent, also deletes the children. The <code>TXMResult.clean()</code> methods of this result and children results are applied before the deletion. |
| 263 | 265 |
* |
| ... | ... | |
| 868 | 870 |
// return this.compute(monitor); |
| 869 | 871 |
// } |
| 870 | 872 |
|
| 873 |
|
|
| 874 |
|
|
| 871 | 875 |
/** |
| 872 | 876 |
* |
| 873 | 877 |
* @return |
| tmp/org.txm.concordance.core/src/org/txm/concordance/core/functions/Concordance.java (revision 547) | ||
|---|---|---|
| 1121 | 1121 |
this.dirty = true; |
| 1122 | 1122 |
} |
| 1123 | 1123 |
|
| 1124 |
@Override |
|
| 1124 | 1125 |
public boolean setParameters(TXMParameters parameters) {
|
| 1125 | 1126 |
|
| 1126 | 1127 |
Object p = parameters.get(ConcordancePreferences.QUERY); |
Formats disponibles : Unified diff