To query if a TopComponent is a multiview component, use
{@link org.netbeans.core.api.multiview.MultiViews#findMultiViewHandler}.
If a {@link org.netbeans.core.api.multiview.MultiViewHandler} instance is
returned, it is a multiview component.
MultiViewHandler
can be used to examine the multiview component.
Array
of defined perspectives (elements) and the currently selected
perspective are available.
The handler can be used to switch the
current selection programatically.
Possible usecases include: