28 |
28 |
package org.txm.rcp.handlers.scripts;
|
29 |
29 |
|
30 |
30 |
import java.io.File;
|
31 |
|
import java.util.logging.Level;
|
32 |
31 |
|
33 |
32 |
import org.eclipse.core.commands.AbstractHandler;
|
34 |
33 |
import org.eclipse.core.commands.ExecutionEvent;
|
... | ... | |
36 |
35 |
import org.eclipse.core.runtime.IProgressMonitor;
|
37 |
36 |
import org.eclipse.core.runtime.IStatus;
|
38 |
37 |
import org.eclipse.core.runtime.Status;
|
39 |
|
import org.eclipse.jface.dialogs.MessageDialog;
|
40 |
|
import org.eclipse.osgi.util.NLS;
|
41 |
38 |
import org.eclipse.swt.SWT;
|
42 |
39 |
import org.eclipse.swt.widgets.Display;
|
43 |
40 |
import org.eclipse.swt.widgets.FileDialog;
|
44 |
41 |
import org.eclipse.swt.widgets.Shell;
|
45 |
42 |
import org.eclipse.ui.handlers.HandlerUtil;
|
46 |
43 |
import org.txm.Toolbox;
|
47 |
|
import org.txm.annotation.core.AnnotationEngine;
|
48 |
|
import org.txm.core.engines.Engine;
|
49 |
|
import org.txm.core.engines.EngineType;
|
50 |
|
import org.txm.core.engines.ImportEngine;
|
51 |
|
import org.txm.core.engines.ImportEngines;
|
52 |
|
import org.txm.core.engines.ScriptedImportEngine;
|
53 |
|
import org.txm.groovy.core.GSERunner;
|
54 |
|
import org.txm.objects.BaseOldParameters;
|
55 |
44 |
import org.txm.objects.Project;
|
56 |
45 |
import org.txm.rcp.StatusLine;
|
57 |
46 |
import org.txm.rcp.commands.OpenImportForm;
|
58 |
47 |
import org.txm.rcp.commands.RestartTXM;
|
59 |
|
import org.txm.rcp.commands.workspace.LoadBinaryCorpus;
|
60 |
48 |
import org.txm.rcp.messages.TXMUIMessages;
|
61 |
49 |
import org.txm.rcp.utils.JobHandler;
|
62 |
50 |
import org.txm.rcp.views.corpora.CorporaView;
|
63 |
|
import org.txm.searchengine.core.SearchEnginesManager;
|
64 |
|
import org.txm.searchengine.cqp.CQPSearchEngine;
|
65 |
51 |
import org.txm.searchengine.cqp.corpus.MainCorpus;
|
66 |
|
import org.txm.tokenizer.TokenizerClasses;
|
67 |
52 |
import org.txm.utils.BundleUtils;
|
68 |
|
import org.txm.utils.DeleteDir;
|
69 |
|
import org.txm.utils.ExecTimer;
|
70 |
53 |
import org.txm.utils.logger.Log;
|
71 |
54 |
|
72 |
|
import groovy.lang.Binding;
|
73 |
55 |
import groovy.util.GroovyScriptEngine;
|
74 |
56 |
|
75 |
57 |
// TODO: Auto-generated Javadoc
|