You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by pk...@apache.org on 2012/05/29 19:32:15 UTC
svn commit: r1343866 -
/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-addons/src/main/java/org/apache/uima/textmarker/query/ui/QueryComposite.java
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();
}