propertytable in Plugin info provider
Can anyone tell me how the propertytable of the plugin info provider is shared with the rest of the plugin?
infoProvider.sectionsForTopOfDialog = function( f, propertyTable )
propertyTable:addObserver('mySetting', myObserver)
return {
.. create a radio button that binds its value to 'mySetting'
}
}
I'm running into two problems with this:
1. the observer doesn't seem to work, at least for a radio button. My function myObserver never gets called if I change the radio button settings
2. any value set into propertyTable isn't visible in the propertyTable passed into the exportServiceProvider's startDialog function.
These two issues prevent me from being able to do anything useful with selection elements in the PluginManager. I can't see them in the ExportServiceProvicer class, and I also can't find a way to persist them (ie in the plugin prefs) within the PluginManager dialog.
Am I doing something wrong? does anyone know of a way to use selection elements in the PluginManager and persist them and/or bind to them?
thanks
Peter