Revision 1645
tmp/org.txm.rcp/src/main/java/org/txm/rcp/handlers/scripts/ExecuteImportScript.java (revision 1645) | ||
---|---|---|
150 | 150 |
return null; |
151 | 151 |
} |
152 | 152 |
|
153 |
if (CQPSearchEngine.isInitialized()) Toolbox.getEngineManager(EngineType.SEARCH).stopEngines(); |
|
153 |
if (CQPSearchEngine.isInitialized()) { |
|
154 |
Toolbox.getEngineManager(EngineType.SEARCH).stopEngines(); |
|
155 |
} |
|
154 | 156 |
|
155 | 157 |
JobHandler jobhandler = new JobHandler(TXMUIMessages.scriptExecution |
156 | 158 |
+ project.getImportModuleName()) { //$NON-NLS-1$ |
tmp/org.txm.rcp/src/main/java/org/txm/rcp/commands/ImportSelectedText.java (revision 1645) | ||
---|---|---|
52 | 52 |
import org.txm.utils.LangDetector; |
53 | 53 |
|
54 | 54 |
/** |
55 |
* Import the text in the Clipboard as a corpus. the loader used is the |
|
56 |
* QuickLoader |
|
55 |
* Import the text in the Clipboard as a corpus. The loader used is the QuickLoader. |
|
56 |
* |
|
57 |
* The Clipboard is saved in the clipoard directory and then imported as TXT. |
|
58 |
* |
|
57 | 59 |
* @author mdecorde |
58 | 60 |
* |
59 | 61 |
*/ |
Also available in: Unified diff