问题
If i select a perspective(eg. Java EE perspective) from "open perspective" combo the perspective will be opened and it will be added near to the "open perspective" icon placed in the toolbar.Upon changing multiple perspectives the respective perspectives will be added in toolbar for shortcut purpose.
I have an rcp application in which we can install selective/all plugins from the available list of plugins.First i am installing all the plugins, opening the rcp application(windows msi) and switching to "Sample" perspective.Now the sample perspective shortcut will be added to toolbar.Now i am closing the rcp application and chaging the installation by removing Sample plugin(Which Contains Sample Perspective). If i run the rcp application and click Sample perspective in the toolbar it throws null pointer exception
Note: The "Sample" perspective is removed inside the "Open perspective" combo list.
来源:https://stackoverflow.com/questions/42874157/how-to-remove-a-perspective-from-perspective-toolbarplaced-in-the-top-right-cor