Revision 1094 tmp/org.txm.analec.rcp/src/org/txm/macro/analec/export/ExportAsMacro.groovy

ExportAsMacro.groovy (revision 1094)
22 22
import visuAnalec.elements.*
23 23

  
24 24
def scriptName = this.class.getSimpleName()
25
if (!(corpusViewSelection instanceof Corpus)) {
25
if (!(corpusViewSelection instanceof CQPCorpus)) {
26 26
	println "** $scriptName please select a Corpus to run the macro"
27 27
	return;
28 28
}

Also available in: Unified diff