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.
The interface will consist of: 1) 2 methods in PersistenceManager (only exposed part of persistence layer): WindowManagerConfig loadWindowSystem(); void saveWindowSystem(WindowManagerConfig); 2) 4 methods in WindowManagerImpl, used for informing the cetnral unit about changes (could be changed) void modeConfigAdded(ModeConfig) void modeConfigRemoved(ModeConfig) void topComponentConfigAdded(TopComponentConfig) void topComponentConfigRemoved(TopComponentConfig) 3) Define method for retrieving serialized TopComponent according its ID (used for lazy loading) in PersistenceManager TopComponent getTopComponentForID(); 4) Define the communication structures. Those are WindowManagerConfig, ModeConfig, TopComponentConfig. Those structures correspond to xml files (.wsmgr (WindowManager data), .wsmode (Mode data), .wstcref (TopComponent data). Rules: Persistence part is currently in package org.netbeans.core.windows.layers. a) It cannot acces any other window system classes out of that package except the defined methods in 2) b) It cannot propagate any exception (IOException) informing about some io problems to the central unit. It should take care about it properly (log some message) and return just data which are consistent not the corrupted one. c) It should also manage removals or repairements of corrupted files
For current state look into package org.netbeans.core.windows at classes: WindowManagaerConfig ModeConfig TopComponentConfig Those are subject to change and their final state will be known after the final version is closed.
Done.