Revision 2144 tmp/org.txm.analec.rcp/src/org/txm/macro/urs/check/CheckAnnotationStructureValuesMacro.groovy

CheckAnnotationStructureValuesMacro.groovy (revision 2144)
8 8
import org.txm.searchengine.cqp.corpus.*
9 9
import visuAnalec.elements.*
10 10

  
11
if (!(corpusViewSelection instanceof MainCorpus)) {
11
if (!(corpusViewSelection instanceof CQPCorpus)) {
12 12
	println "Corpora selection is not a Corpus"
13 13
	return;
14 14
}
......
27 27

  
28 28
// END OF PARAMETERS
29 29

  
30
MainCorpus corpus = corpusViewSelection
30
def corpus = corpusViewSelection
31 31
def analecCorpus = URSCorpora.getCorpus(corpus);
32 32
def structure = analecCorpus.getStructure()
33 33

  

Also available in: Unified diff