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.

Bug 37746

Summary: Provide persistence of projects
Product: platform Reporter: Peter Zavadsky <pzavadsky>
Component: Window SystemAssignee: Peter Zavadsky <pzavadsky>
Status: RESOLVED FIXED    
Severity: blocker CC: jrojcek, mslama
Priority: P1    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:
Bug Depends on: 37710    
Bug Blocks:    

Description Peter Zavadsky 2003-12-04 15:21:43 UTC
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.
Comment 1 Peter Zavadsky 2003-12-08 15:43:37 UTC
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
Comment 2 Peter Zavadsky 2003-12-11 15:52:39 UTC
There is issue #37710 which describes the persistence part of job.
Comment 3 Peter Zavadsky 2003-12-11 16:40:39 UTC
Fixed in [trunk]

core/windows/../PersistenceHandler.java 1.12
core/windows/../persistence/PersistenceManager.java 1.7