The following example creates two XSection windows and combines them into one:
IXSectionWindow window1 = IXSectionWindow.factory.createWindow();IXSectionWindow window2 = IXSectionWindow.factory.createWindow();ICombinedWindow combinedWindow = ICombinedWindow.factory.createWindow();combinedWindow.addViewerWindows(window1, window2);combinedWindow.setViewerWindowPosition(window1, 1); // moves the first window added all the way to the rightTo uncombine windows:
combinedWindow.deleteViewerWindows(window1, window2);The entire ICombinedWindow API is described in the javadoc.