The workspace is composed of every desktop layouts associated with this context (desktops are identified by their 'desktopName' property).
The stream is not closed at the end of the operation. @see #readXML(InputStream)
9596979899100101102103104105
try { File desktopLayoutFile = vlDockingPageDescriptor.getInitialLayout().getFile(); checkForConfigPath(desktopLayoutFile); buffOs = new BufferedOutputStream(new FileOutputStream(desktopLayoutFile)); dockingContext.writeXML(buffOs); buffOs.close(); logger.debug("Wrote docking context to config file " + desktopLayoutFile); } catch (IOException e) {