Author: pkluegl
Date: Tue May 29 17:32:14 2012
New Revision: 1343866

URL: http://svn.apache.org/viewvc?rev=1343866&view=rev
Log:
UIMA-2413
fixed id, renamed method 

Modified:
    
uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/query/ui/QueryComposite.java

Modified: 
uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/query/ui/QueryComposite.java
URL: 
http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/query/ui/QueryComposite.java?rev=1343866&r1=1343865&r2=1343866&view=diff
==============================================================================
--- 
uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/query/ui/QueryComposite.java
 (original)
+++ 
uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/query/ui/QueryComposite.java
 Tue May 29 17:32:14 2012
@@ -296,7 +296,7 @@ public class QueryComposite extends org.
               if (element instanceof QueryResult) {
                 QueryResult data = (QueryResult) element;
                 if (data.getFile() != null) {
-                  openInCEV(data.getFile());
+                  openInCasEditor(data.getFile());
                 }
               }
             }
@@ -381,7 +381,7 @@ public class QueryComposite extends org.
     }
   }
 
-  protected void openInCEV(File file) {
+  protected void openInCasEditor(File file) {
     if (file == null) {
       return;
     }
@@ -389,7 +389,7 @@ public class QueryComposite extends org.
     try {
       IWorkbenchPage page = 
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
       IFile ifile = getIFile(absolutePath);
-      page.openEditor(new FileEditorInput(ifile), 
"org.apache.uima.cev.editor.CEVViewer");
+      page.openEditor(new FileEditorInput(ifile), 
"org.apache.uima.caseditor.editor");
     } catch (PartInitException e) {
       e.printStackTrace();
     }


Reply via email to