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

UnitsIndexMacro.groovy (revision 1094)
28 28

  
29 29
def selection = []
30 30
for (def s : corpusViewSelections) {
31
	if (s instanceof Corpus) selection << s
31
	if (s instanceof CQPCorpus) selection << s
32 32
	else if (s instanceof Partition) selection.addAll(s.getParts())
33 33
}
34 34

  

Also available in: Unified diff