Revision 1166 tmp/org.txm.analec.rcp/src/org/txm/macro/analec/edit/AccessibiliteMacro.groovy

AccessibiliteMacro.groovy (revision 1166)
45 45
corpus = corpusViewSelection
46 46
CQI = CQPSearchEngine.getCqiClient()
47 47

  
48
analecCorpus = AnalecCorpora.getCorpus(corpus.getID())
49
vue = AnalecCorpora.getVue(corpus.getID())
48
analecCorpus = AnalecCorpora.getCorpus(corpus)
49
vue = AnalecCorpora.getVue(corpus)
50 50
structure = analecCorpus.getStructure()
51 51
if (!structure.getUnites().contains(unit_type)) { // check if the structure contains the unit_type units
52 52
	println "Error: corpus structure does not contains unit with name=$unit_type"

Also available in: Unified diff