Révision 1013

tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/corpus/Part.java (revision 1013)
66 66
		this.shortName = shortName;
67 67
		this.name = shortName;
68 68
		this.partition = partition;
69
		this.motherMainCorpus = (MainCorpus) partition.getFirstParent(MainCorpus.class);
70
		this.motherSubcorpus = (Subcorpus) partition.getFirstParent(Subcorpus.class);
69 71

  
70 72
		this.partition.addChild(this);
71 73
		this.setVisible(false);
tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/corpus/Partition.java (revision 1013)
288 288
	protected boolean _load() {
289 289
		if (this.getUUID().length() > 0) return true; // partition already persisted
290 290

  
291
		if (this.hasBeenComputedOnce) return true; // partition already computed
292
		
291 293
		if (this.getSelfElement() != null && this.getParent() != null) {
292 294
			NodeList partList = getSelfElement().getChildNodes();
293 295
			for (int i = 0; i < partList.getLength(); i++) {
......
316 318

  
317 319
	@Override
318 320
	protected boolean _save() {
319
		return false;
321
		return true;
320 322
	}
321 323

  
322 324
	@Override

Formats disponibles : Unified diff