This guide lists the actions necessary in order to migrate the preferences system from BEAM to SNAP
...
- In the module
snap-gui
, create a new package, and a filepackage-info.java
- Within that file, annotate the package with
OptionsPanelController.ContainerRegistration
- Create a class within the package that extends
OptionsPanelController
- Annotate it with
OptionsPanelController.SubRegistration
- As value for the annotation field
location
use the id you set in step 2. - Do steps 4-8 of the previous section accordingly
...
Be sure that you don't have duplicate display names; see http://stackoverflow.com/q/27376939/2043113.
Clarify
...