Révision 3180
tmp/org.txm.concordance.core/src/org/txm/concordance/core/functions/Concordance.java (revision 3180) | ||
---|---|---|
250 | 250 |
String refPropertyNames = this.getStringParameterValue(ConcordancePreferences.VIEW_REFERENCE_PATTERN); |
251 | 251 |
String refPropertyNames2 = this.getCorpus().getProject().getCommandPreferences("concordance").get(ConcordancePreferences.VIEW_REFERENCE_PATTERN); |
252 | 252 |
if (refPropertyNames2 != null && refPropertyNames2.length() > 0) { |
253 |
refPropertyNames = refPropertyNames2; |
|
253 |
ReferencePattern ref = ReferencePattern.stringToReferencePattern(this.getCorpus(), refPropertyNames); |
|
254 |
if (ref.getProperties().size() > 0) { // ensure the ref properties is well set |
|
255 |
refPropertyNames = refPropertyNames2; |
|
256 |
} |
|
254 | 257 |
} |
255 | 258 |
if ("*".equals(refPropertyNames)) { |
256 | 259 |
Property refProperty = this.getCorpus().getProperty("ref");//$NON-NLS-1$ |
Formats disponibles : Unified diff