Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Hide perspective using xml ?(Hiding perspectives using activites in xml)
Hide perspective using xml ? [message #1011821] Wed, 20 February 2013 10:11
Jim Edwards is currently offline Jim EdwardsFriend
Messages: 1
Registered: February 2013
Junior Member

I'm new to this whole eclipse RCP and PDE thing, so any help most welcome !

Basically I've created a new perspective, mostly using xml perspective and perspectiveExtension in my plugin.xml. It basically works fine, but I need it to only be activated in our productized application and "turn it off" when we export as plugins...

Is this possible via xml ? Or are there other ways of doing this ?

I've tried using activity/activityPatternBindings, but this doesn't seem to work, i.e.:

<extension point="org.eclipse.ui.activities">
<activity id="com.x.y.z.disable"
<with variable="true">
<equals value="false">
<activityPatternBinding activityId="com.x.y.z.disable"

If the above worked OK - switching on/off the perspective by changing value="false" to value="true", then I was going to substitute in a property tester for org.eclipse.core.runtime.product. Anyone know if this is a valid approach or why the above doesn't work ?

Thanks for any help,

(A very frustrated Confused ) Jim
Previous Topic:How Can i Reach Dynamicly Created Text ?
Next Topic:Export and Running RCP Prduct with Native DLLs
Goto Forum:

Current Time: Sun May 20 19:35:04 GMT 2018

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

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

Back to the top