Révision 1155
| tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/corpus/Subcorpus.java (revision 1155) | ||
|---|---|---|
| 516 | 516 |
return true; |
| 517 | 517 |
} |
| 518 | 518 |
|
| 519 |
// @Override |
|
| 520 |
// public Project getProject() {
|
|
| 521 |
// return getParent().getProject(); |
|
| 522 |
// } |
|
| 523 |
|
|
| 524 | 519 |
@Override |
| 525 | 520 |
public boolean saveParameters() throws Exception {
|
| 526 | 521 |
if (pQuery != null) {
|
| ... | ... | |
| 551 | 546 |
return "Corpus"; |
| 552 | 547 |
} |
| 553 | 548 |
|
| 549 |
/** |
|
| 550 |
* |
|
| 551 |
* @param cqpId |
|
| 552 |
* @param name |
|
| 553 |
* @param queryResult |
|
| 554 |
*/ |
|
| 554 | 555 |
public void setParameters(String cqpId, String name, QueryResult queryResult) {
|
| 555 | 556 |
this.pID = cqpId; |
| 556 | 557 |
this.pName = name; |
| tmp/org.txm.core/src/java/org/txm/core/results/TXMResult.java (revision 1155) | ||
|---|---|---|
| 102 | 102 |
protected List<TXMResult> children; |
| 103 | 103 |
|
| 104 | 104 |
/** |
| 105 |
* The visibility state. |
|
| 106 |
*/ |
|
| 107 |
@Parameter(key=TXMPreferences.VISIBLE, type=Parameter.INTERNAL) |
|
| 108 |
private Boolean visible; |
|
| 109 |
|
|
| 110 |
/** |
|
| 111 |
* The user name (to rename a result). |
|
| 112 |
*/ |
|
| 113 |
@Parameter(key=TXMPreferences.USER_NAME, type=Parameter.INTERNAL) |
|
| 114 |
protected String userName; |
|
| 115 |
|
|
| 116 |
/** |
|
| 117 |
* To store the simple name for unserialization and lazy loading. |
|
| 118 |
*/ |
|
| 119 |
@Parameter(key=TXMPreferences.LAZY_NAME, type=Parameter.INTERNAL) |
|
| 120 |
protected String lazyName; |
|
| 121 |
|
|
| 122 |
|
|
| 123 |
/** |
|
| 124 | 105 |
* Command preferences node path. |
| 125 | 106 |
*/ |
| 126 | 107 |
protected String commandPreferencesNodePath; |
| ... | ... | |
| 162 | 143 |
*/ |
| 163 | 144 |
protected boolean userPersistable; |
| 164 | 145 |
|
| 146 |
|
|
| 147 |
|
|
| 148 |
/** |
|
| 149 |
* The visibility state. |
|
| 150 |
*/ |
|
| 151 |
@Parameter(key=TXMPreferences.VISIBLE, type=Parameter.INTERNAL) |
|
| 152 |
private Boolean visible; |
|
| 165 | 153 |
|
| 166 | 154 |
/** |
| 155 |
* The user name (to rename a result). |
|
| 156 |
*/ |
|
| 157 |
@Parameter(key=TXMPreferences.USER_NAME, type=Parameter.INTERNAL) |
|
| 158 |
protected String userName; |
|
| 159 |
|
|
| 160 |
/** |
|
| 161 |
* To store the simple name for unserialization and lazy loading. |
|
| 162 |
* This string can be used, for example, to display some infos in UI even if the result has not yet been recomputed. |
|
| 163 |
*/ |
|
| 164 |
@Parameter(key=TXMPreferences.LAZY_NAME, type=Parameter.INTERNAL) |
|
| 165 |
protected String lazyName; |
|
| 166 |
|
|
| 167 |
|
|
| 168 |
|
|
| 169 |
|
|
| 170 |
|
|
| 171 |
/** |
|
| 167 | 172 |
* Creates a new TXMResult, child of the specified parent. |
| 168 | 173 |
* @param parent |
| 169 | 174 |
*/ |
Formats disponibles : Unified diff