Revision 1094 tmp/org.txm.analec.rcp/src/org/txm/macro/analec/exploit/UnitsSummaryMacro.groovy

UnitsSummaryMacro.groovy (revision 1094)
24 24

  
25 25
def selection = []
26 26
for (def s : corpusViewSelections) {
27
	if (s instanceof Corpus) selection << s
27
	if (s instanceof CQPCorpus) selection << s
28 28
	else if (s instanceof Partition) selection.addAll(s.getParts())
29 29
}
30 30

  

Also available in: Unified diff