Statistics
| Revision:

root / tmp / org.txm.groovy.core / src / groovy / org / txm / test / OpenAnEditor.groovy @ 499

History | View | Annotate | Download (502 Bytes)

1 321 mdecorde
package org.txm.test
2 321 mdecorde
3 321 mdecorde
//import org.eclipse.ui.*;
4 499 mdecorde
//import org.txm.rcp.*;
5 321 mdecorde
//
6 499 mdecorde
//import org.txm.rcp.editors.input.*;
7 499 mdecorde
//import org.txm.rcp.editors.queryindex.*;
8 321 mdecorde
9 321 mdecorde
final def sel = corpusViewSelection
10 321 mdecorde
11 321 mdecorde
monitor.syncExec(new Runnable() {
12 321 mdecorde
        public void run() {
13 321 mdecorde
//                def page = TXMWindows.getActiveWindow().getActivePage();
14 321 mdecorde
//                def editorInput = new QueryIndexEditorInput(sel);
15 321 mdecorde
//                def editor = (QueryIndexEditor) page.openEditor(editorInput, QueryIndexEditor.ID); //$NON-NLS-1$
16 321 mdecorde
//                editor.initializeFields();
17 321 mdecorde
        }
18 321 mdecorde
})