Putting a PerspectiveStack on a Part [message #1001461] |
Wed, 16 January 2013 14:09  |
Eclipse User |
|
|
|
My designer is calling for a UI that calls for two levels of containment. The outer level has a small number of mutually exclusive panes. The inner level varies, but in some cases has additional groups of panes.
Both the outer level and some of the inner level panes have features that I feel are best modeled with a PerspectiveStack. But I don't see a way of adding a PerspectiveStack other than under a Window.
Does anyone know if there is a way within the model to have a PerspectiveStack within a PerspectiveStack?
I've seen screen shots where someone has added a View inside of a Composite. Alternatively, is there a way to render a PerspectiveStack inside of a Composite (which I could then put in a Part)?
My final fallback would just be to make all the panes Perspectives, and then write a fancy perspective switcher that makes it all look like you have the two level containment.
Other suggestions?
Thanks,
Jo
|
|
|
Re: Putting a PerspectiveStack on a Part [message #1001879 is a reply to message #1001461] |
Thu, 17 January 2013 09:00  |
Eclipse User |
|
|
|
This is not possible out of the box. What we'll maybe provide in Kepler
is to nest PartStack-Containers or better said we'll maybe make
MPartSashContainer implement MStackElement.
Anyways because we don't provide it out of the box doesn't mean you can
achieve it already today. Our application model is extensible and you
can also contribute custom renderers.
We've shown this already in serveral presentations and will maybe show
how this can be done at our Eclipse Con 2013 Tutorial
(http://www.eclipsecon.org/2013/sessions/advanced-eclipse-4-application-platform-not-weak-hearted).
Tom
Am 16.01.13 22:21, schrieb Jo Jaquinta:
> My designer is calling for a UI that calls for two levels of
> containment. The outer level has a small number of mutually exclusive
> panes. The inner level varies, but in some cases has additional groups
> of panes.
> Both the outer level and some of the inner level panes have features
> that I feel are best modeled with a PerspectiveStack. But I don't see a
> way of adding a PerspectiveStack other than under a Window. Does anyone
> know if there is a way within the model to have a PerspectiveStack
> within a PerspectiveStack?
>
> I've seen screen shots where someone has added a View inside of a
> Composite. Alternatively, is there a way to render a PerspectiveStack
> inside of a Composite (which I could then put in a Part)?
>
> My final fallback would just be to make all the panes Perspectives, and
> then write a fancy perspective switcher that makes it all look like you
> have the two level containment.
>
> Other suggestions?
>
> Thanks,
>
> Jo
|
|
|
Powered by
FUDForum. Page generated in 0.07485 seconds