Révision 3202
tmp/org.txm.analec.rcp/src/org/txm/macro/urs/edit/ResetAllAnnotationsMacro.groovy (revision 3202) | ||
---|---|---|
13 | 13 |
return; |
14 | 14 |
} |
15 | 15 |
|
16 |
def corpus = corpusViewSelection |
|
17 |
if (!URSCorpora.isAnnotationStructureReady(corpus)) { |
|
18 |
println "** URS Annotation Structure of "+corpusViewSelection+" is not ready. Aborting." |
|
19 |
return |
|
20 |
} |
|
21 |
|
|
16 | 22 |
@Field @Option(name="CONFIRMATION", usage="select to confirm the annotations reset", widget="Boolean", required=false, def="false") |
17 | 23 |
def CONFIRMATION |
18 | 24 |
|
... | ... | |
24 | 30 |
return; |
25 | 31 |
} |
26 | 32 |
|
27 |
def corpus = corpusViewSelection |
|
33 |
|
|
28 | 34 |
def analecCorpus = URSCorpora.getCorpus(corpus); |
29 | 35 |
def structure = analecCorpus.getStructure() |
30 | 36 |
|
Formats disponibles : Unified diff