Skip to main content



      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 09:25 Go to next message
Eclipse UserFriend
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 03:47 Go to previous message
Eclipse UserFriend
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: Sat Jul 05 23:49:13 EDT 2025

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

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

Back to the top