You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by jo...@apache.org on 2010/11/25 17:10:40 UTC

svn commit: r1039082 - /uima/uimaj/trunk/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/editor/AnnotationEditor.java

Author: joern
Date: Thu Nov 25 16:10:40 2010
New Revision: 1039082

URL: http://svn.apache.org/viewvc?rev=1039082&view=rev
Log:
No jira, a static method is now directly accessed. 

Modified:
    uima/uimaj/trunk/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/editor/AnnotationEditor.java

Modified: uima/uimaj/trunk/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/editor/AnnotationEditor.java
URL: http://svn.apache.org/viewvc/uima/uimaj/trunk/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/editor/AnnotationEditor.java?rev=1039082&r1=1039081&r2=1039082&view=diff
==============================================================================
--- uima/uimaj/trunk/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/editor/AnnotationEditor.java (original)
+++ uima/uimaj/trunk/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/editor/AnnotationEditor.java Thu Nov 25 16:10:40 2010
@@ -1290,8 +1290,7 @@ public final class AnnotationEditor exte
         public void widgetSelected(SelectionEvent e) {
           
           // Open a dialog to let the user choose a type system
-          WorkspaceResourceDialog resourceDialog = new WorkspaceResourceDialog();
-          IResource resource = resourceDialog.getWorkspaceResourceElement(Display.getCurrent().getActiveShell(),
+          IResource resource = WorkspaceResourceDialog.getWorkspaceResourceElement(Display.getCurrent().getActiveShell(),
                   ResourcesPlugin.getWorkspace().getRoot(),
                   "Select a Type System", "Please select a Type System:");