I am trying to add some "simple" features to a Oxygen plugin that I am developing.
  1. A Menu somewhere (preferably under Preferences > Plugins > MyPluginName) that allows me to toggle between two values and save that value permanently.

  2. The ability to read the currently set value that was set in the prefrences.

So far I have not been able to find any examples or clear documentation on how to do either.

Any assistance would be appreciated.




This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).