Community
Participate
Working Groups
We are creating and persisting an IWorkingSet within the .launch framework to enable sharing of a working set. The only problem is in the restoration of the IWorkingSet from the stored IMemento. We would like to not have to duplicate the code for persisting and restoring the working sets. I would like to propose the following addition to IWorkingSetManager: IWorkingSetManager.createWorkingSet(IMemento workingSetMemento) As well it should be explict on IWorkingSet that it adapts to IPersistableElement.
We talked about the need for this in email. Darin is handling the persistence himself because he does not want to add the working sets to the working set manager. They are internal working sets that should not be shown to the user.
To see the current implementation/work arounds we are using (from HEAD): org.eclipse.debug.ui.variables.WorkingSetComponent org.eclipse.debug.ui.variables.WorkingSetExpander
Reassigning to Nick since he is taking ownership of this component.
The code in question now lives in org.eclipse.debug.ui.launchVariables.RefreshTab.
Will investigate. Are there any other areas where Debug is using Workbench internals? We want to clean these up for the RCP work.
Sorry, didn't get to it for M4.
Will get to this for M6. Honest.
Fixed in I20031209. Added IWorkingSetManager.createWorkingSet(IMemento) and added IPersistableElement to IWorkingSet as suggested.
Also added test in IWorkingSetManagerTest.