How do I create new views (tabs, pluggable tabs, subtabs)?
You create new tabs by extending these classes: • com.sun.tools.visualvm.core.ui.DataSourceView • com.sun.tools.visualvm.core.ui.DataSourceViewProvider A complete example for creating new tabs can be found here. To make your tabs extendable, the following API must be extended: • com.sun.tools.visualvm.core.ui.PluggableViewSupport A complete example for creating pluggable view can be found here. You create new subtabs by extending these classes: • com.sun.tools.visualvm.core.ui.ViewPlugin • com.sun.tools.visualvm.core.ui.ViewPlugin.ViewDescriptor A subtab can only be added to a tab if the tab is created to be pluggable, that is, only if the tab makes use of com.sun.tools.visualvm.core.ui.PluggableViewSupport. In the cases of the predefined tabs in VisualVM, you need to initialize the support class that relates to the pluggable view that you want to extend: • com.sun.tools.visualvm.core.dataview.monitor.MonitorViewSupport • com.sun.tools.visualvm.core.dataview.overview.OverviewViewSuppor