Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] Workbench editor cycling

Jared,

WorkbenchPage.cycleEditors(boolean) was stale code, left over from when 
Ctrl+F6 cycled the editors (a la MDI) rather than bringing up the editor 
switcher.
I have deleted it (sorry).

We currently have no plans to expose the activation history as API, 
although if you're working in the UI component, you can get it using the 
non-API method WorkbenchPage.getSortedEditors().

Nick






Jared Burns <jared-eclipse@xxxxxxxxx>
Sent by: platform-ui-dev-admin@xxxxxxxxxxx
03/22/02 10:37 PM
Please respond to platform-ui-dev

 
        To:     platform-ui-dev@xxxxxxxxxxx
        cc: 
        Subject:        [platform-ui-dev] Workbench editor cycling


WorkbenchPage includes a method cycleEditors(boolean forward) that cycles 
through a history of editors (forward or backward) that is maintained in 
the 
page. I'd originally implemented my own mechanism for the EditorView I'm 
working on (http://dev.eclipse.org/bugs/show_bug.cgi?id=10941). Now that I've 
found this mechanism, of course, I'd rather throw out my duplicate work.

Is there any plan to promote this method to API on IWorkbenchPage? Since 
I'm 
working in the UI component, I *could* just cast the page to the 
implementation type, but I'd prefer to use the interface.

Thanks,
- Jared
_______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ui-dev





Back to the top