This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • 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!