Community
Participate
Working Groups
It would be nice if WorkbenchPage#getEditorReferences() returned the editor references in the order they're tabs are displayed. For example, if you launch the workbench with editors A, B, and C open in that order, WorkbenchPage#getEditorReferences() returns them in that order. If the user then reorders the editor tabs to be B, C, A, getEditorReferences() still returns the editors in the order A, B, C. Background: I'd like this for is the editor management view in Bug 10941. I have users who reorder the editor tabs by logical groupings. When they reorder the tabs, they'd like them to show up in the same order in the editor view. I haven't found any notification that's sent when the tabs are reordered (which would be optimal), but if the call to getEditorReferences() returned them in the tab order, I could simply allow the user to refresh the view contents to update the ordering.
In R3.0 the code that does the presentation for editors and views can answer the state they should be persisted in.