[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] How to bring to top without activating?

I am trying to programatically open editors and bring each in turn to the top without activating them. The key is that my application has the concept of a main window, and these editors are opening in a second window. I want to leave focus in the main window so that users can continue working as these editors are opening. I'm seeing two problems:

1. WorkbenchPage.openEditor is activating the editor even when I specify activate=false. This happens because of problem 2.

2. WorkbenchPage.bringToTop is always making the editor active because newPartContainer == activeEditorContainer

This seems like an Eclipse bug that was introduced in 3.3. Does anyone know what changed and if there is a workaround?

Thanks.