I have created a perspective named as “My Perspective” as a eclipse plugin.It shows properly but when i uninstall the plugin, this perspective still exist.How can i solve it programmaticly?
I have created a perspective named as My Perspective as a eclipse plugin.It shows
Share
Eclipse does this to support the somewhat common usecase:
perspective
(no add-on perspective)
comes back to life.
In an RCP app if you know you’re uninstalling your add-on plugins you can close the perspective in the
org.eclipse.ui.application.WorkbenchAdvisor.preShutdown()method. In the Eclipse IDE, you don’t have access to that, although you might be able to useorg.eclipse.ui.IWorkbenchListener.preShutdown(IWorkbench, boolean)