Revision 1097

tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/corpus/Subcorpus.java (revision 1097)
497 497

  
498 498
	@Override
499 499
	public boolean saveParameters() throws Exception {
500
		if (pQuery != null) {
501
			this.setParameter(TBXPreferences.QUERY, pQuery.getQueryString());
502
		}
500 503
		return true;
501 504
	}
502 505

  
503 506
	@Override
504 507
	public boolean loadParameters() throws Exception {
508
		String q = this.getStringParameterValue(TBXPreferences.QUERY);
509
		if (q != null) {
510
			pQuery = new CQLQuery(q);
511
		}
512
		
505 513
		return true;
506 514
	}
507 515

  

Also available in: Unified diff