Statistics
| Revision:

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

History | View | Annotate | Download (535 Bytes)

1
package org.txm.test
2

    
3
//import org.eclipse.ui.*;
4
//import org.txm.rcpapplication.*;
5
//
6
//import org.txm.rcpapplication.editors.input.*;
7
//import org.txm.rcpapplication.editors.queryindex.*;
8

    
9
final def sel = corpusViewSelection
10

    
11
monitor.syncExec(new Runnable() {
12
        public void run() {
13
//                def page = TXMWindows.getActiveWindow().getActivePage();
14
//                def editorInput = new QueryIndexEditorInput(sel);
15
//                def editor = (QueryIndexEditor) page.openEditor(editorInput, QueryIndexEditor.ID); //$NON-NLS-1$
16
//                editor.initializeFields();
17
        }
18
})