Tool Windows
Basics
What was a derivative of org.esa.beam.framework.ui.application.support.AbstractToolView
Code Block | ||
---|---|---|
| ||
public class ${NAME}ToolView extends AbstractToolView {
...
} |
becomes a derivative of org.openide.windows.TopComponent
:
Code Block | ||
---|---|---|
| ||
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:
...