Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsSwitching preferences when switching perspective?
https://www.eclipse.org/forums/index.php/mv/msg/1081759/1745124/#msg_1745124
Is is possible to associate preference sets with a particular perspective so that switching to this perspective causes a set of preferences to be applied until the user switches to another perspective?
Cheers,
Miles
]]>Miles Daffin2016-10-05T12:34:04-00:00Re: Switching preferences when switching perspective?
https://www.eclipse.org/forums/index.php/mv/msg/1081759/1745159/#msg_1745159
But unless you're providing a locked down application, where the user cannot customize perspectives, I'd urge you to use a different approach. Just as developers customize their perspectives, and may use a totally different perspective to do work than anticipated, users may not use your carefully groomed perspectives, or use them in different ways.
Brian.]]>2016-10-05T20:36:41-00:00Re: Switching preferences when switching perspective?
https://www.eclipse.org/forums/index.php/mv/msg/1081759/1745303/#msg_1745303
Thanks for replying. Do you have any alternate suggestions? Some context may help.
We have RCP app that uses a plugin_customisation.ini file in the primary product plugin to apply a bunch of default preferences to various thirdparty plugins that we rely on. We consider that these preferences enhance the usability of the product. Obviously, these defaults only apply when the app is running in stand-alone mode. When people install it into another product from our p2 repo these settings are ignored. So we are looking for a simple way in this context (simple for the user and for us) of switching these suggested defaults on.
Miles
]]>Miles Daffin2016-10-07T11:44:05-00:00Re: Switching preferences when switching perspective?
https://www.eclipse.org/forums/index.php/mv/msg/1081759/1745334/#msg_1745334
Activities (aka Capabilities in the Preferences). They're not fully implemented in 4.x: I think the filtering/hiding of menu items and toolbar items isn't complete. You can hook into activity switches, and you can also programmatically activate and deactivate activities.]]>2016-10-07T13:56:45-00:00