Problem with custom Settingstore [message #1542390] |
Fri, 02 January 2015 16:20 |
hanspeter hofer Messages: 8 Registered: December 2012 |
Junior Member |
|
|
How do I set a custom Settingstore if I use a workbench + IApplication setup?
I tried adding a OSGI service for a ApplicationConfiguration to set the SettingstoreFactory, but it does not get called.
I tried adding an extension point, but where do I specify the Settingstore to use?
Can I use the branding somehow?
Update:
I managed to load the Settingsstore via the RAP launcher by adding
<extension
point="org.eclipse.rap.ui.settingstores">
<factory
class="at.tugraz.computingtutor.CouchdbSettingstoreFactory"
id="couchdb">
</factory>
</extension>
to the plugin.xml
and adding -Dorg.eclipse.rap.rwt.settingStoreFactory=couchdb to the VM arguments.
Now I need to select the settingstore via the warproduct. How do i do this?
[Updated on: Fri, 02 January 2015 16:50] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03709 seconds