ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r1239807 - /ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/views/ReportView.java
Date Thu, 02 Feb 2012 20:25:29 GMT
Author: hibou
Date: Thu Feb  2 20:25:29 2012
New Revision: 1239807

URL: http://svn.apache.org/viewvc?rev=1239807&view=rev
Log:
On Ivy report view close, stop listen to changes

Modified:
    ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/views/ReportView.java

Modified: ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/views/ReportView.java
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/views/ReportView.java?rev=1239807&r1=1239806&r2=1239807&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/views/ReportView.java
(original)
+++ ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/views/ReportView.java
Thu Feb  2 20:25:29 2012
@@ -49,6 +49,10 @@ public class ReportView extends ViewPart
         // nothing to do
     }
 
+    public void dispose() {
+        getSite().getPage().removeSelectionListener(this);
+    }
+
     public void selectionChanged(IWorkbenchPart part, ISelection sel) {
         if (sel instanceof IStructuredSelection) {
             IvyClasspathContainer ivycp = IvyClasspathUtil



Mime
View raw message