use of org.netbeans.core.windows.WindowSystemSnapshot in project netbeans-rcp-lite by outersky.
the class DefaultModel method createWindowSystemSnapshot.
// Controller updates <<
// ///////////////////////
@Override
public WindowSystemSnapshot createWindowSystemSnapshot() {
WindowSystemSnapshot wsms = new WindowSystemSnapshot();
// PENDING
ModeStructureSnapshot mss = createModeStructureSnapshot();
wsms.setModeStructureSnapshot(mss);
ModeImpl activeMode = getActiveMode();
wsms.setActiveModeSnapshot(activeMode == null ? null : mss.findModeSnapshot(activeMode.getName()));
ModeImpl maximizedMode = null != getViewMaximizedMode() ? getViewMaximizedMode() : null;
wsms.setMaximizedModeSnapshot(maximizedMode == null ? null : mss.findModeSnapshot(maximizedMode.getName()));
wsms.setMainWindowBoundsJoined(getMainWindowBoundsJoined());
wsms.setMainWindowBoundsSeparated(getMainWindowBoundsSeparated());
wsms.setEditorAreaBounds(getEditorAreaBounds());
wsms.setEditorAreaState(getEditorAreaState());
wsms.setEditorAreaFrameState(getEditorAreaFrameState());
wsms.setMainWindowFrameStateJoined(getMainWindowFrameStateJoined());
wsms.setMainWindowFrameStateSeparated(getMainWindowFrameStateSeparated());
wsms.setToolbarConfigurationName(getToolbarConfigName());
return wsms;
}
Aggregations