Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Putting a PerspectiveStack on a Part(e4 containment hierarchy)
Putting a PerspectiveStack on a Part [message #1001461] Wed, 16 January 2013 19:09 Go to next message
Jo Jaquinta is currently offline Jo JaquintaFriend
Messages: 40
Registered: January 2013
Location: Boston
Member

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


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jo Grant, Senior Software Engineer
Admin and Config Console Architect
OpenPages, IBM
Re: Putting a PerspectiveStack on a Part [message #1001879 is a reply to message #1001461] Thu, 17 January 2013 14:00 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
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
Previous Topic:Unit tests on a e4 Application.
Next Topic:ViewPart's @PostConstruct createControls() not called
Goto Forum:
  


Current Time: Sat Apr 27 02:11:56 GMT 2024

Powered by FUDForum. Page generated in 0.02504 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top