Ivajlo Iliev
Ivajlo Iliev

Reputation: 463

Eclipse RCP 4 - how to visualize two parts one under another instead of one in a PartStack?

New to Eclipse RCP 4, so I have a question: In the project that I am working on, there is a PartStack. As far as I saw, the PartStack visualizes the content of only one part, while displays the tabs of the others. At the same time the PartSashContainer displays all the children at the same time. My problem is that instead of one part now I have to visualize two parts, vertically aligned. As far as I understood, it is not possible to add PartSashContainer in a PartStack, so my question is how to be able to do that?

Upvotes: 1

Views: 350

Answers (1)

greg-449
greg-449

Reputation: 111216

All you need to have two parts, one above the other, is a PartSashContainer (with Vertical alignment) containing the two Parts:

enter image description here

For a 'Part Stack' you can add a 'Composite Part' which in turn can contain a 'PartSashContainer'

Upvotes: 2

Related Questions