Community
Participate
Working Groups
This enhancement requests the following: 1. Create a presentation that assumes a tab-folder-like appearance, but allows the actual tab folder implementation and algorithm for tab ordering to be pluggable. 2. Update the default presentation and r21 presentation to use the new class. 3. Expose helper classes for standard system menu contributions as API.
Created attachment 12929 [details] Current implementation Here's an initial stab at the API. AbstractTabFolder, AbstractTabFolderListener, and AbstractTabItem are pretty much good to go. The rest of the classes still need some work. Andrew: I've refactored somewhat since our first discussion. I rearranged things so that AbstractTabFolder uses set methods for everything rather than asking for information from IPresentablePart. This does some nice things: 1. AbstractTabFolder implementations are now potentially useful outside of the presentation framework. 2. AbstractTabFolder doesn't need to attach any listeners to IPresentablePart (which has been a frequent source of memory leaks).
Created attachment 13939 [details] Current workbench patch (aug 12) Here's the latest code. This version of the patch includes a new version of the default presentation which has been mostly ported to the new API, and a native presentation.
Created attachment 13940 [details] Current ui patch (aug 12) This is a patch to org.eclipse.ui that goes with the previous workbench patch
Created attachment 13991 [details] Latest UI patch (aug 16)
Created attachment 13992 [details] Latest workbench patch (aug 16)
Created attachment 13993 [details] r21 patch (aug 16)
Created attachment 14064 [details] workbench patch (aug 18)
Created attachment 14065 [details] r21 patch (aug 18)
Created attachment 14066 [details] ui patch (aug 18)
Note: the new implementation of the default presentation will depend on the SWT enhancements in bug 72217.
Is this still a problem in 3.3? PW
Changes requested on bug 193523
The PresentationAPI has been deprecated with the Eclipse 4.x release and it has been replaced with the CSS engine. I therefore close this bugs as WONTFIX. In case your bug report is still valid for the Eclipse 4.4 release, please open a new bug report for it.