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/03/12 16:32:46 UTC

svn commit: r1299712 - /uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/src/main/java/org/apache/uima/textmarker/caseditor/view/tree/AnnotationTreeViewPage.java

Author: pkluegl
Date: Mon Mar 12 15:32:46 2012
New Revision: 1299712

URL: http://svn.apache.org/viewvc?rev=1299712&view=rev
Log:
UIMA-2380
added code to remove listener

Modified:
    uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/src/main/java/org/apache/uima/textmarker/caseditor/view/tree/AnnotationTreeViewPage.java

Modified: uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/src/main/java/org/apache/uima/textmarker/caseditor/view/tree/AnnotationTreeViewPage.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/src/main/java/org/apache/uima/textmarker/caseditor/view/tree/AnnotationTreeViewPage.java?rev=1299712&r1=1299711&r2=1299712&view=diff
==============================================================================
--- uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/src/main/java/org/apache/uima/textmarker/caseditor/view/tree/AnnotationTreeViewPage.java (original)
+++ uima/sandbox/trunk/TextMarker/uimaj-ep-textmarker-caseditor/src/main/java/org/apache/uima/textmarker/caseditor/view/tree/AnnotationTreeViewPage.java Mon Mar 12 15:32:46 2012
@@ -227,6 +227,7 @@ public class AnnotationTreeViewPage exte
   public void dispose() {
     super.dispose();
     getSite().getPage().removeSelectionListener(this);
+    editor.removeAnnotationListener(this);
     editor.getCasDocumentProvider().getTypeSystemPreferenceStore(editor.getEditorInput())
             .removePropertyChangeListener(styleListener);
     overlay.dispose();