Revision 1555

tmp/org.txm.cooccurrence.core/src/org/txm/cooccurrence/core/functions/Cooccurrence.java (revision 1555)
386 386
	public boolean canCompute() {
387 387

  
388 388
		if (pQuery == null || pQuery.isEmpty()) {
389
			System.out.println("No query set.");
389
			Log.fine("No query set.");
390 390
			return false;
391 391
		}
392 392

  
393 393
		if (pProperties == null) {
394
			System.out.println("No properties set.");
394
			Log.fine("No properties set.");
395 395
			return false;
396 396
		}
397 397

  
398 398
		if (getCorpus() == null) {
399
			System.out.println("No corpus set.");
399
			Log.fine("No corpus set.");
400 400
			return false;
401 401
		}
402 402

  
403 403
		if (pProperties.size() == 0) {
404
			System.out.println("No properties filled.");
404
			Log.fine("No properties filled.");
405 405
			return false;
406 406
		}
407 407

  
tmp/org.txm.ca.rcp/src/org/txm/ca/rcp/handlers/ComputeCA.java (revision 1555)
169 169
			//ca.compute();
170 170

  
171 171
			try {
172
				Log.info(CAUIMessages.loadingCorrespondenceAnalysisResults);
172
				Log.fine(CAUIMessages.loadingCorrespondenceAnalysisResults);
173 173

  
174 174
				TXMResultEditorInput<CA> editorInput = new TXMResultEditorInput(ca);
175 175
				IWorkbenchPage page = TXMWindows.getActivePage();
tmp/org.txm.progression.core/src/org/txm/progression/core/functions/Progression.java (revision 1555)
214 214

  
215 215
		// null or empty queries
216 216
		if (this.queries == null || this.queries.isEmpty())	{
217
			Log.severe("Progression.canCompute(): can not compute with no query."); //$NON-NLS-1$
217
			Log.fine("Progression.canCompute(): can not compute with no query."); //$NON-NLS-1$
218 218
			return false;
219 219
		}
220 220

  
......
224 224
				Pattern.compile(this.propertyRegex);
225 225
			}
226 226
			catch (PatternSyntaxException e) {
227
				Log.severe("Progression.canCompute(): wrong regular expression."); //$NON-NLS-1$
227
				Log.warning("Progression.canCompute(): wrong regular expression."); //$NON-NLS-1$
228 228
				Log.printStackTrace(e);
229 229
				return false;
230 230
			}
tmp/org.txm.lexicaltable.core/src/org/txm/lexicaltable/core/functions/LexicalTable.java (revision 1555)
318 318

  
319 319
		if (this.parent instanceof Subcorpus) {
320 320

  
321
			this.subTask("Computing from Subcorpus.");
321
			this.subTask("Computing from Subcorpus: "+this.parent);
322 322
			
323 323
			Subcorpus subcorpus = (Subcorpus) this.parent;
324 324
			CQPCorpus parentCorpus = subcorpus.getMainCorpus();
......
329 329
		}
330 330
		else if (this.parent instanceof Partition) {
331 331

  
332
			this.subTask("Computing from Partition.");
332
			this.subTask("Computing from Partition: "+this.parent);
333 333

  
334 334
			this._computeFromPartition((Partition)this.parent);
335 335
		}
336 336
		else if (parent instanceof PartitionIndex) {
337 337

  
338
			this.subTask("Computing from Index.");
338
			this.subTask("Computing from Index: "+this.parent);
339 339

  
340 340
			this._computeFromIndexes(Arrays.asList((PartitionIndex)this.parent));
341 341
		}
tmp/org.txm.chartsengine.svgbatik.rcp/src/org/txm/chartsengine/svgbatik/rcp/swt/SVGComposite.java (revision 1555)
58 58
			return;
59 59
		}
60 60
		this.file = file;
61
		Log.info(TXMCoreMessages.bind("Loading SVG document from file: {0}...", file.getAbsolutePath()));
61
		Log.fine(TXMCoreMessages.bind("Loading SVG document from file: {0}...", file.getAbsolutePath()));
62 62
		try {
63 63
			this.getPanel().loadSVGDocument(file.toURL().toExternalForm());
64 64
		}
tmp/org.txm.edition.rcp/src/org/txm/edition/rcp/handlers/OpenEdition.java (revision 1555)
137 137
	public static SynopticEditionEditor openEdition(CQPCorpus corpus, String[] editions) {
138 138
		String textid = null;
139 139

  
140
		System.out.println("Opening edition of "+corpus); //$NON-NLS-1$
140
		Log.fine("Opening edition of "+corpus); //$NON-NLS-1$
141 141
		try {
142 142
			Text text = null;
143 143
			if (corpus instanceof Subcorpus) {
tmp/org.txm.edition.rcp/src/org/txm/edition/rcp/messages/messages_fr.properties (revision 1555)
3 3
warningColonUnknownedParameterIdEqualsP0=Avertissement\: paramètre d'identifiant {0} inconnu.
4 4
controls=contrôles
5 5
previousPage=Page précédente
6
openingDefaultEditionsColonP0=Ouverture de l''édition par défaut ‘'{0}'
6
openingDefaultEditionsColonP0=Ouverture de l''édition par défaut ''{0}''
7 7
nextPage=Page suivante
8 8
textButtons=boutons de navigation entre textes
9 9
pageNotFoundP0=Page ‘'{0}' introuvable.
......
32 32
noEditionFound=Édition introuvable 
33 33
cannotCallTxmcommandWithoutIdParameterColonP0=** Impossible d''appeler une commande sans le paramètre ''id'' ({0})
34 34
pageButtons=boutons de la page
35
openingWithFirstEditionNoDefaultEditionSetColonP0=Ouverture de l'édition ‘'{0}' (pas d'édition par défaut).
35
openingWithFirstEditionNoDefaultEditionSetColonP0=Ouverture de l'édition ''{0}'' (pas d'édition par défaut).
36 36
errorColonTxmeditioncorpusidEditionidTextidWordidCalledWithNoArguments=** Erreur \: txmedition (corpusid, editionid?, textid ?, wordid?) appelé sans argument
37 37
editions=Éditions
38 38
noEditionToOpen=Pas d'édition disponible.
tmp/org.txm.properties.core/src/org/txm/properties/core/messages/messages.properties (revision 1555)
19 19
lexicalUnitsPropertiesMaxP0Values=Lexical Units properties (max {0} values)
20 20
numberOfWordProperties=Number of word properties 
21 21
updatedTheP0=<p>Last update: {0}</p>
22
createdTheP0=<p>Creation date: {0}</p>
22
createdTheP0=<p>Creation date: {0}</p>
23
computingProperties=Computing properties...
tmp/org.txm.properties.core/src/org/txm/properties/core/messages/messages_fr.properties (revision 1555)
19 19
lexicalUnitsPropertiesMaxP0Values=Propriétés des unités lexicales (max {0} valeurs)
20 20
numberOfWordProperties=Nombre de propriétés de mot 
21 21
updatedTheP0=<p>Dernière modification : {0}.</p>
22
createdTheP0=<p>Date de création : {0}</p>
22
createdTheP0=<p>Date de création : {0}</p>
23
computingProperties=Calcul des propriétés...
tmp/org.txm.properties.core/src/org/txm/properties/core/messages/PropertiesCoreMessages.java (revision 1555)
39 39
	public static String updatedTheP0;
40 40

  
41 41
	public static String createdTheP0;
42

  
43
	public static String computingProperties;
42 44
	
43 45
	
44 46
	static {
tmp/org.txm.properties.core/src/org/txm/properties/core/functions/Properties.java (revision 1555)
611 611
	@Override
612 612
	protected boolean _compute() throws Exception {
613 613

  
614
		this.beginTask("Computing properties...", 3);
614
		this.beginTask(PropertiesCoreMessages.computingProperties, 3);
615 615
		this.stepGeneralInfos();
616 616
		this.worked(1);
617 617

  
tmp/org.txm.core/src/java/org/txm/core/results/TXMResult.java (revision 1555)
2395 2395
	public abstract boolean toTxt(File outfile, String encoding, String colseparator, String txtseparator) throws Exception;
2396 2396

  
2397 2397

  
2398

  
2399

  
2400 2398
	/**
2401 2399
	 * Increments the progress of the specified amount of work.
2402 2400
	 * 
......
2458 2456
		if (monitor != null) {
2459 2457
			monitor.setTaskName(name);
2460 2458
		}
2461
		Log.info(name);
2459
		Log.fine(name);
2462 2460
	}
2463 2461

  
2464 2462
	@Override
......
2466 2464
		if (monitor != null) {
2467 2465
			monitor.subTask(name);
2468 2466
		}
2469
		Log.info(name);
2467
		Log.fine(name);
2470 2468
	}
2471 2469

  
2472 2470
	/**
tmp/org.txm.chartsengine.core/src/org/txm/chartsengine/core/ChartsEngine.java (revision 1555)
112 112
		}
113 113
		
114 114
		if(chartCreator == null && showLogWarning)	{
115
			Log.warning(this.getName() + ": No chart creator can be found for result: " + result.getClass() + " and chart type: " + chartType);
115
			Log.fine(this.getName() + ": No chart creator can be found for result: " + result.getClass() + " and chart type: " + chartType);
116 116
		}
117 117
		return chartCreator;
118 118
	}
tmp/org.txm.concordance.core/src/org/txm/concordance/core/functions/Concordance.java (revision 1555)
567 567
		//		System.out.println("CQLLimitStarts="+CQLLimitStarts);
568 568
		if (pLimitCQL != null && CQLLimitStarts == null) { // initialize text limits
569 569
			try {
570
				Log.warning("Get CQL limit for query="+pLimitCQL);
570
				Log.fine("Get CQL limit for query="+pLimitCQL);
571 571
				CQLLimitStarts = this.getCorpus().getStartLimits(pLimitCQL);
572 572
				if (CQLLimitStarts.length > 0 && CQLLimitStarts[0] != 0) {
573 573
					int[] tmp  = new int[CQLLimitStarts.length + 1];
tmp/org.txm.rcp/src/main/java/org/txm/rcp/editors/TXMEditor.java (revision 1555)
1222 1222
					try {
1223 1223
						f.set(this, value);
1224 1224
					} catch(Exception e) {
1225
						Log.warning(NLS.bind("Warning: can't assignate value={0} to editor member={1}.", value, f));
1225
						Log.fine(NLS.bind("Warning: can't assignate value={0} to editor member={1}.", value, f));
1226 1226
					}
1227 1227
				}
1228 1228

  
tmp/org.txm.index.core/src/org/txm/index/core/functions/Index.java (revision 1555)
169 169
	@Override
170 170
	protected final boolean _compute() throws Exception {
171 171

  
172
		
173
		
172 174
		// reset all stored data
173 175
		if (lines != null) {
174 176
			lines.clear();
......
341 343
	@Override
342 344
	public boolean canCompute() {
343 345
		if (getCorpus() == null) {
344
			Log.severe("Corpus not set."); //$NON-NLS-1$
346
			Log.fine("Corpus not set."); //$NON-NLS-1$
345 347
			return false;
346 348
		}
347 349

  
348 350
		if (pProperties == null || pProperties.size() == 0) {
349
			Log.severe("No property set."); //$NON-NLS-1$
351
			Log.fine("No property set."); //$NON-NLS-1$
350 352
			return false;
351 353
		}
352 354

  
353 355
		if (pQuery == null || pQuery.getQueryString().length() == 0) {
354
			Log.severe("No query set."); //$NON-NLS-1$
356
			Log.fine("No query set."); //$NON-NLS-1$
355 357
			return false;
356 358
		}
357 359

  
tmp/org.txm.referencer.core/src/org/txm/referencer/core/functions/Referencer.java (revision 1555)
538 538
	public boolean canCompute() {
539 539

  
540 540
		if (pQuery == null || pQuery.isEmpty()) {
541
			System.out.println("No query set.");
541
			Log.fine("No query set.");
542 542
			return false;
543 543
		}
544 544
		if (pPattern == null || pPattern.size() == 0) {
545
			System.out.println("No reference pattern set.");
545
			Log.fine("No reference pattern set.");
546 546
			return false;
547 547
		}
548 548
		if (pProperty == null) {
549
			System.out.println("No property set.");
549
			Log.fine("No property set.");
550 550
			return false;
551 551
		}
552 552
		

Also available in: Unified diff