Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to get rid of Java perspective(Reduce perspective to only MY perspectives)
How to get rid of Java perspective [message #789036] Thu, 02 February 2012 14:25 Go to next message
Mirco F. is currently offline Mirco F.Friend
Messages: 4
Registered: February 2012
Junior Member
Hi,
the "open perspective" action from my created product shows me "Other..." when being selected and then offers me perspectives like Debug, Java, Java Browsing, Java Type Hierarchie and Team Synchronizing. I want this dialog to only offer my implemented perspectives - how would I do this?
Thank you,
Mirco
Re: How to get rid of Java perspective [message #791775 is a reply to message #789036] Mon, 06 February 2012 08:47 Go to previous message
Mirco F. is currently offline Mirco F.Friend
Messages: 4
Registered: February 2012
Junior Member
To solve this, I put this into my plugin.xml

<extension point="org.eclipse.ui.activities">
<activity id="rcpcolibri.disablextensions" name="Hidden activities"/>
<activityPatternBinding activityId="rcpcolibri.disablextensions" pattern="org.eclipse.debug.ui.*"/>
<activityPatternBinding activityId="rcpcolibri.disablextensions" pattern="org.eclipse.search.*"/>
<activityPatternBinding activityId="rcpcolibri.disablextensions" pattern="org.eclipse.ui.editors.*"/>
<activityPatternBinding activityId="rcpcolibri.disablextensions" pattern="org.eclipse.ui.externaltools.*"/>
<activityPatternBinding activityId="rcpcolibri.disablextensions" pattern="org.eclipse.team.*"/>
<activityPatternBinding activityId="rcpcolibri.disablextensions" pattern="org.eclipse.jdt.*"/>
</extension>

Best,
Mirco
Previous Topic:weird behaviour of compare editor
Next Topic:How to write a test for method having eclipse job?
Goto Forum:
  


Current Time: Tue Nov 24 04:30:10 GMT 2020

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

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

Back to the top