Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Issues faced on kepler.(Unable to set the default perspective and hide other perspectives using kepler.)
Issues faced on kepler. [message #1159081] Mon, 28 October 2013 09:29
Amit Jahagirdar is currently offline Amit JahagirdarFriend
Messages: 2
Registered: August 2013
Junior Member
Hi all,
I am using Teiid Designer with Eclipse kepler.
Jboss Teiid designer comes with its custom perspective called "modelerPerspective".
Now the requirement is
1) to make this perspective as default perspective when an instance of eclipse opens up everytime.
2) Hide other perspectives like java,java browsing,CVS etc...
3) To achieve this may be write a small eclipse plugin and ensure that eclipse picks up this plugin everytime it opens up.
To achieve above mentioned goals :
==>I tried activeWindow.setPerspective(myPerspective) in the earlyStartup method.
That works partially coz if i choose other perspective and close eclipse instance then the next time I run it it opens in the previously used perspective and not myPerspective.

==> Secondly for hiding the perspectives I am using follwing code in my plugin:
from within the postWindowCreate() but even that is not working with Kepler.
==> Now when the plugin is exported as a jar/feature the earlyStartup doesnot get called while opening an eclipse instance.

Would be of great help if someone could help me on these issues.
Previous Topic:Store Preferences within PostContextCreate
Next Topic:Preferences from Database
Goto Forum:

Current Time: Fri Mar 06 21:46:17 GMT 2015

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

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