Revision 479 tmp/org.txm.groovy.core/src/groovy/org/txm/macro/stats/BasicVocabularyMacro.groovy

BasicVocabularyMacro.groovy (revision 479)
27 27
// TSV file.
28 28

  
29 29
import org.txm.Toolbox
30
import org.txm.functions.ca.*
31 30
import org.txm.searchengine.cqp.clientExceptions.*
32 31
import org.txm.searchengine.cqp.corpus.*
33 32
import org.txm.searchengine.cqp.corpus.query.*
34
import org.txm.stat.*
35
import org.txm.stat.data.*
36
import org.txm.stat.engine.r.*
37
import org.txm.functions.specificities.*
33
import org.txm.statsengine.r.core.RWorkspace
38 34
import org.kohsuke.args4j.*
39 35
import groovy.transform.Field
40
import org.txm.rcp.swt.widget.parameters.*
36
import org.txm.rcpapplication.swt.widget.parameters.*
37
import org.txm.specificities.core.functions.SpecificitesResult
41 38

  
42
//TODO temporary uncommented
43
//if (!(corpusViewSelection instanceof SpecificitesResult)) {
44
//	println "** You need to select a Specificities result icon in the Corpus view before calling this macro. Aborting."
45
//	return
46
//}
39
if (!(corpusViewSelection instanceof SpecificitesResult)) {
40
	println "** You need to select a Specificities result icon in the Corpus view before calling this macro. Aborting."
41
	return
42
}
47 43

  
48 44
// PARAMETERS
49 45

  

Also available in: Unified diff