Project: Eclipse_Platform_UI
Bug 62038 [Workbench] Move editor management decisions into the presentation API
Reported: 2004-05-12 19:32:54 | Status: resolved fixed

There are currently a number of bugs that require decisions about editor arrangement to be made by the presentation. The current API does not allow this since presentations do not carry any persistent state. This enhancement requests that the following enhancements be added to the presentation API. 1. Presentation objects may carry persistent information, and can save and restore that information in the workbench. 2. The protocol for adding new parts to a presentation should allow the presentation to make decisions about the location of the new part, while still allowing it to determine which dragover affordance was being displayed when a part was dropped.

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/IWorkbenchConstants.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PageLayout.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PartStack.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ViewStack.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/DefaultPartPresentation.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/PresentationFactoryUtil.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/PresentationSerializer.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/presentations/AbstractPresentationFactory.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/presentations/IPresentationSerializer.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/presentations/StackDropResult.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/presentations/StackPresentation.java