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();


Reply via email to