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 2011/11/07 17:42:18 UTC

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

Author: joern
Date: Mon Nov  7 16:42:17 2011
New Revision: 1198808

URL: http://svn.apache.org/viewvc?rev=1198808&view=rev
Log:
UIMA-2279 Removed deactive and active logic for painter on an update, since this was not the cause for the performance problem.

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=1198808&r1=1198807&r2=1198808&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 Mon Nov  7 16:42:17 2011
@@ -294,9 +294,7 @@ public final class AnnotationEditor exte
                 annotation.getEnd() - annotation.getBegin()));
       }
       
-      mPainter.deactivate(true);
       annotationModel.replaceAnnotations(null, addAnnotationMap);
-      mPainter.paint(IPainter.CONFIGURATION);
     }
 
     /**
@@ -323,9 +321,7 @@ public final class AnnotationEditor exte
         removeAnnotations[removeAnnotationsIndex++] = new EclipseAnnotationPeer(annotation);
       }
       
-      mPainter.deactivate(true);
       annotationModel.replaceAnnotations(removeAnnotations, null);
-      mPainter.paint(IPainter.CONFIGURATION);
     }
 
     /**