I see, you're writing a data storage plugin. There's various types of plugins in RightEdge, and some of them are written differently.
A data store plugin is different from a service plugin. It doesn't need to implement IService, and it doesn't use HasCustomSettings and ShowCustomSettingsForm.
By default, settings for a data store plugin are edited using a PropertyGrid
. This will automatically show the public properties of your class and allow them to be edited. You can customize this in various ways- for example setting the name and description of a property with the DisplayNameAttribute
. An example of a plugin that does this is the BinaryDataStore.
You can also define a custom UI to edit your data storage plugin's properties. To do so, create a Windows Forms Control
with your custom UI which implements the IPluginEditor
interface. Then on the plugin class, put a PluginEditorAttribute
that points to the class with your IPluginEditor implementation. The LinqToSQLStorage plugin is an example of how to do this.
Let me know if you have any issues.