This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
There is a requirement to be able to provide the saving and loading of document area which will be project sensitive. First, there will be added methods to NbTopManager.WindowSystem: saveDocumentArea, loadDocumentArer which will serve as an 'friend' API for projects module to control the saving. The method saveDocumentArea needs to be called before the project is closed (i.e. old FS's unmounted).. and method loadDocumentArea after the new project is opened (i.e. new FS's are mounted). This is the first part.. the next will be make the winsys persistent to handle those methods accordingly.
Well, something changed at the moment.. First it is not clear yet what everything will be needed to save. Anyway, it is clear, that some calls are needed, and those were added. There were added methods to NbTopManager.WindowSystem to be able control the saving/loading project specific window system data from projects module: core/manifest.mf 1.31 core/../NbTopManager.java 1.198 core/windows/manifest.mf 1.12 core/windows/../PersistenceHandler.java 1.9 core/windows/../WindowSystemImpl.java 1.8 projects/manifest.mf 1.49 projects/../NewProjectAction.java 1.38 projects/../PSupport.java 1.115 projects/../ProjectManagerPanel.java 1.42 projects/../ProjectsModule.java 1.50
There is issue #37710 which describes the persistence part of job.
Fixed in [trunk] core/windows/../PersistenceHandler.java 1.12 core/windows/../persistence/PersistenceManager.java 1.7