Versions Compared

Key

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

...

  1. A small Java class which extends BaseMacro and has a single execute method which takes the user's options and performs any necessary "business logic" (in this case scanning for images attached to the current page which match the user's selection requirements).
  2. A velocity macro which takes the output of the Java class and renders it as HTML
  3. A s imple simple javascript function which uses jquery to switch the plot images when the user selects a plot
  4. A helpfile (velocity), a plugin descriptor (xml) and a maven pom (xml)

...