Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] Eclipse IDE and Multiple Windows ?

Martin, I think what you're looking for could be accomplished through a new 'hook' we could provide that would allow the PartService's 'addPart' to ask an external implementation to provide a stack in which to place the newly opening view / editor.

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=398837 for some discussions....

Please get in touch with me directly once M5 has gone out (next week) and between you, me and Tom let's see what we can come up with.

Eric


Inactive hide details for "Oberhuber, Martin" ---01/16/2014 07:08:35 AM---Dear Platform/UI and e4 experts, In our IDE on top of"Oberhuber, Martin" ---01/16/2014 07:08:35 AM---Dear Platform/UI and e4 experts, In our IDE on top of Eclipse, we are looking at ways how to deal wi


    From:

"Oberhuber, Martin" <Martin.Oberhuber@xxxxxxxxxxxxx>

    To:

"platform-ui-dev@xxxxxxxxxxx" <platform-ui-dev@xxxxxxxxxxx>, "e4-dev@xxxxxxxxxxx" <e4-dev@xxxxxxxxxxx>,

    Date:

01/16/2014 07:08 AM

    Subject:

[e4-dev] Eclipse IDE and Multiple Windows ?

    Sent by:

e4-dev-bounces@xxxxxxxxxxx




Dear Platform/UI and e4 experts,
 
In our IDE on top of Eclipse, we are looking at ways how to deal with multiple Windows for one IDE session. One workflow, for instance, is keeping a tracing and monitoring session open in one window while looking at the debugger in another window.
 
This works fine for the most part, but we’ve come across one problem that we could not solve so far: sometimes, an Eclipse View is opened programmatically by a plugin, and thus gets placed into the getActiveWorkbenchWindow(). We’ve seen this happen with the C/C++ Build Console for instance, when a build is started; but we want to avoid having the build console in our tracing and monitoring window, it should always go into the master window.
 
I understand that the e4 modeled UI should give us full access to the Workbench Model, along with the ability to register listeners.
 
Can you think of any way how we could detect such “foreign views” being placed into an undesired workbench window, and allow us to move them into the master window where we think they should live ?
 
Or, do you have any other suggestions or API / Doc pointers for working with multiple windows in Eclipse ? – We’ve tried using Detached Views, but they didn’t quite work for us like we wanted (eg they always remain in foreground; they don’t have maximize/minimize/resize buttons; the 3.x API for attaching / detaching a view no longer exists in 4.x).
 
Ideally, I would want the Eclipse IDE to work like a Tabbed Web Browser: When I launch a monitoring session, it initially opens as a new tab in the original IDE Window, and I can have multiple tabs for multiple sessions in parallel. When I want, I can put the session into a separate Window instead of the Tab. Or, take one of the tabs and drag it out as a Window. I want full control over each of my tabs, so no foreign view should open in any of them.
 
Any suggestions would be most welcome !
 
Thanks,
Martin
--
Martin Oberhuber, SMTS / Product Architect – Development Tools, Wind River
direct +43.662.457915.85  fax +43.662.457915.6
 _______________________________________________
e4-dev mailing list
e4-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/e4-dev


GIF image

GIF image


Back to the top