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

UnitsProgressionMacro.groovy (revision 1094)
35 35
def scriptName = this.class.getSimpleName()
36 36
def parent
37 37
def selection = []
38
if (!(corpusViewSelection instanceof Corpus)) {
38
if (!(corpusViewSelection instanceof CQPCorpus)) {
39 39
	println "** $scriptName please select a Corpus to run the macro"
40 40
}
41 41
selection << corpusViewSelection

Also available in: Unified diff