Revision 148 tmp/org.txm.core/src/groovy/org/txm/macroproto/edition/XTZEditionBuilderMacro.groovy

XTZEditionBuilderMacro.groovy (revision 148)
2 2

  
3 3
// STANDARD DECLARATIONS
4 4

  
5
import org.kohsuke.args4j.*
6

  
7 5
import groovy.transform.Field
8 6

  
9
import org.txm.rcpapplication.swt.widget.parameters.*
10
import org.txm.macro.edition.BuildFacsEditions;
11
import org.txm.macro.edition.RemoveTag;
7
import javax.xml.parsers.*
8
import javax.xml.transform.*
9
import javax.xml.transform.dom.DOMSource
10
import javax.xml.transform.stream.StreamResult
11

  
12
import org.kohsuke.args4j.*
13
import org.txm.Toolbox
14
import org.txm.macro.edition.BuildFacsEditions
15
import org.txm.macro.edition.RemoveTag
12 16
import org.txm.objects.*
13
import org.txm.searchengine.cqp.corpus.*;
17
import org.txm.rcpapplication.commands.*
18
import org.txm.rcpapplication.swt.widget.parameters.*
19
import org.txm.searchengine.cqp.corpus.*
14 20
import org.w3c.dom.*
15
import org.txm.importer.DomUtils
16
import org.txm.Toolbox
17 21

  
18
import org.w3c.dom.Document;
19
import org.xml.sax.SAXException;
20
import org.txm.rcpapplication.commands.*
21

  
22
import javax.xml.parsers.*;
23
import javax.xml.transform.*;
24
import javax.xml.transform.dom.DOMSource;
25
import javax.xml.transform.stream.StreamResult;
26

  
27 22
println "Corpus view selection is: "+corpusViewSelection
28 23
if (!(corpusViewSelection instanceof MainCorpus)) {
29 24
	println "This marcro works with a MainCorpus selection. Aborting"

Also available in: Unified diff