Statistics
| Revision:

root / tmp / org.txm.groovy.core / src / groovy / org / txm / macroproto / cqp / ListMatchesMacro.groovy @ 822

History | View | Annotate | Download (456 Bytes)

1
// STANDARD DECLARATIONS
2
package org.txm.macroproto.cqp
3

    
4
import org.kohsuke.args4j.*
5
import groovy.transform.Field
6
import org.txm.rcpapplication.swt.widget.parameters.*
7
import org.txm.Toolbox
8
import org.txm.searchengine.cqp.*
9
import org.txm.searchengine.cqp.corpus.*
10
import org.txm.utils.*
11

    
12
if (!(corpusViewSelection instanceof Corpus)) {
13
        println "Selection is not a Corpus: $corpusViewSelection"
14
        return false
15
}
16

    
17
println corpusViewSelection.getMatches()