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 - Provide persistence of projects
Summary: Provide persistence of projects
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: All All
: P1 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords:
Depends on: 37710
Blocks:
  Show dependency tree
 
Reported: 2003-12-04 15:21 UTC by Peter Zavadsky
Modified: 2008-12-22 17:41 UTC (History)
2 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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