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

ResetAnnotationsMacro.groovy (revision 1166)
20 20
if (!ParametersDialog.open(this)) return;
21 21

  
22 22
MainCorpus corpus = corpusViewSelection
23
def analecCorpus = AnalecCorpora.getCorpus(corpus.getID());
23
def analecCorpus = AnalecCorpora.getCorpus(corpus);
24 24
def structure = analecCorpus.getStructure()
25 25

  
26 26
Class[] classes = [Unite.class, Relation.class, Schema.class]

Also available in: Unified diff