Finding and organizing windows

All windows in the INTViewer desktop (and that are not NetBeans top components) implement the IWindow interface.

Listing all windows in the desktop, excluding those inside combined window

IWindowManager manager =  IWindowManager.Factory.getInstance();
IWindow[] windows = manager.getWindows();

For windows of a specific type, follow this template:

IWindowManager manager =  IWindowManager.Factory.getInstance();
IXSectionWindow[] windows = manager.getWindows(IXSectionWindow.class);

Listing all viewer windows in the desktop, including those inside combined window

IWindowManager manager =  IWindowManager.Factory.getInstance();
IViewerWindow[] windows = manager.getViewerWindows();

For windows of a specific type, follow this template:

IWindowManager manager =  IWindowManager.Factory.getInstance();
IXSectionWindow[] windows = manager.getViewerWindows(IXSectionWindow.class);

Tiling all windows

IWindowManager manager =  IWindowManager.Factory.getInstance();
manager.tileAll();