Versions Compared

Key

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

Tool Windows

Basics

What was a derivative of org.esa.beam.framework.ui.application.support.AbstractToolView

Code Block
languagejava
public class ${NAME}ToolView extends AbstractToolView {
   ...
}

becomes a derivative of org.openide.windows.TopComponent:

Code Block
languagejava
public class ${NAME}TopComponent extends TopComponent {
   ...
}

 

Help

In most toolwindows we had a help button, created and initialised like this:

...

This code can be replaced by within a <Name>TopComponent${NAME}TopComponent.initComponents() method as follows:

...