Revision 1166 tmp/org.txm.analec.rcp/src/org/txm/macro/analec/misc/SchemasListMacro.groovy

SchemasListMacro.groovy (revision 1166)
56 56
// END OF PARAMETERS
57 57

  
58 58
MainCorpus corpus = corpusViewSelection
59
def analecCorpus = AnalecCorpora.getCorpus(corpus.getID())
59
def analecCorpus = AnalecCorpora.getCorpus(corpus)
60 60

  
61 61
// check Schema parameters
62 62
if (!analecCorpus.getStructure().getSchemas().contains(schema_type)) {

Also available in: Unified diff