Layout in eclipse perspective [message #819642] |
Tue, 13 March 2012 02:35  |
Eclipse User |
|
|
|
Hi All,
I am new to eclipse e4, We are working on RCP application using 3.5 which consists of multiple perspective and each perspective is responsible to display views using layout, As our customer recommends to migrate to eclipse 4.1, i am trying some examples in eclipse e4, but facing problems while creating perspective views. Below are the problems i am facing
1. In eclipse 3.5 we can place ViewPart on specific location(top, bottom, left, right) using folderlayout in perspective, how we can achieve the same functionality in eclipse e4, As per me it shall be done using PlaceHolder element in the model, but it accepts only shared element. So do we need to make all PartSashContainer as shared elements?,and if not please guide me with a sample.
2. View displayed in e4 are of fixed size, i am not able to implement maximize feature of view part. Please let me know what i need to do to achieve this?
Thanks in advance.
Regards
Gaurav
|
|
|
Re: Layout in eclipse perspective [message #825893 is a reply to message #819642] |
Wed, 21 March 2012 07:51  |
Eclipse User |
|
|
|
What kind of application? Eclipse 4 offers the modeled workbench and DI support, and a few services (selection, part management, command/handler/keybindings).
But if you have a 3.5 RCP app you might be using more of the standard Workbench services like progress or preferences, and they do not yet have Eclipse 4 counterparts. Is that the case?
For your questions:
1) your part sash containers and your part stacks must be in each perspective. They contain the placeholders that point to the shared parts.
2) you need the swt.addons (specifically the MinMaxAddon)
PW
|
|
|
Powered by
FUDForum. Page generated in 0.02889 seconds