Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This guide lists the actions necessary in order to migrate the preferences system from BEAM to SNAP

...

  1. In the module snap-gui, create a new package, and a file package-info.java
  2. Within that file, annotate the package with OptionsPanelController.ContainerRegistration
  3. Create a class within the package that extends OptionsPanelController
  4. Annotate it with OptionsPanelController.SubRegistration
  5. As value for the annotation field location use the id you set in step 2.
  6. 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

...