• Post Reply Bookmark Topic Watch Topic
  • New Topic

Viewpart is not disposed.  RSS feed

 
Mukund Patil
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Experts,

I have created one viewpart in navigator perspective, and added the eclipse selection listener as -





and the code to dispose the view is (in eclipse selection listener)-


but the view is not disposed when swich from current view to any another view..


Please provide your thoughts on it.

-Mukund
 
Mukund Patil
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Added code

PlatformUI.getWorkbench().getActiveWorkbenchWindow().addPerspectiveListener( iPerspectiveListener );

and did all the chagnes I need in


method.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!