You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by hi...@apache.org on 2012/02/02 21:25:29 UTC
svn commit: r1239807 -
/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/views/ReportView.java
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