Revision 1094 tmp/org.txm.analec.rcp/src/org/txm/macro/analec/misc/EmptyPropValuesMacro.groovy

EmptyPropValuesMacro.groovy (revision 1094)
25 25

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

  

Also available in: Unified diff