Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Eclipse PlugIn+ Standalone Application View not work on perspective change(I have create eclipse RCP application + Standalone view, if i change the Perspective to java, i am getting perspective image on java editor.)
Eclipse PlugIn+ Standalone Application View not work on perspective change [message #1764555] Wed, 31 May 2017 08:22 Go to next message
Biswabir Dey is currently offline Biswabir DeyFriend
Messages: 7
Registered: March 2017
Junior Member
I have create an eclipse RCP application,where i created a standalone perspective extension. Please find the image regarding this creation .

After execution when i perform to change perspective to java perspective that time i am getting my java editor still contain perspective image on left side. . please find the attached image regarding this,

I don't want this perspective image from java editor. how to remove this. is there any option to remove this image by code or need some changes on plugin.xml extension tab. Please find the below perspective code,

public class Perspective implements IPerspectiveFactory {
public void createInitialLayout(IPageLayout layout) {
.addPerspectiveListener(new PerspectiveListener());

Advance Thanks.
Re: Eclipse PlugIn+ Standalone Application View not work on perspective change [message #1764615 is a reply to message #1764555] Wed, 31 May 2017 19:21 Go to previous message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 873
Registered: January 2012
Senior Member

You didn't attach an image, but I wonder if you're referring to the 'perspective switcher'? You can disable through a WorkbenchWindowAdvisor#preWindowOpen():
	public void preWindowOpen() {
		IWorkbenchWindowConfigurer configurer = getWindowConfigurer();

BTW: Your perspective listener shouldn't be installed here. The perspective factory is only run on the very first time the perspective is created. It won't be called on restart. Rather you should install listeners via your workbench advisors.

Eclipse Platform committer. Ask me about Eclipse support, training, and consulting.
Previous Topic:Eclipse RCP+ Standalone Application View not work on perspective change
Next Topic:Neon - FromEditor pages are disposed 2x
Goto Forum:

Current Time: Mon Apr 06 19:04:41 GMT 2020

Powered by FUDForum. Page generated in 0.12036 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top