|
Re: Managing RCP app preferences via Oomph? [message #1745547 is a reply to message #1745504] |
Wed, 12 October 2016 11:29 |
Ed Merks Messages: 33113 Registered: July 2009 |
Senior Member |
|
|
Note that if you open any *.setup file, there are some toolbar buttons specific to the Setup Editor. There's the button to record the preferences; that brings up the preferences dialog and lets you record all changes into the *.setup you have open. The one next to it is Capture Preferences. That shows a complete tree of all instance (workspace-scoped) preferences as they currently are in the instance preference store; if you've visited all preference pages at least once (using the little light bulb on the preferences page), this should be a complete list of all preferences supported by all plugins currently installed. Anything you want to set into the preference store should be in this list, and you can use this dialog to record them as preference tasks.
Your application could record all these things into a *.setup file, it could prompt the user however you want to design such a prompt, and if the user approves, you could copy them all into the workspace.setup (Navigate -> Open Setup -> Workspace) and (somehow) do the Perform Setup Tasks... to apply them to the instance preference store.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.07035 seconds