Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I create new views (tabs, pluggable tabs, subtabs)?

create pluggable subtabs tabs
0
Posted

How do I create new views (tabs, pluggable tabs, subtabs)?

0

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

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123