How to bring to top without activating? [message #325725] |
Tue, 26 February 2008 00:51  |
Eclipse User |
|
|
|
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.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.35959 seconds