Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Layout in eclipse perspective
Layout in eclipse perspective [message #819642] Tue, 13 March 2012 06:35 Go to next message
gaurav dubey is currently offline gaurav dubeyFriend
Messages: 45
Registered: July 2009
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.

Re: Layout in eclipse perspective [message #825893 is a reply to message #819642] Wed, 21 March 2012 11:51 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

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)


Previous Topic:Customizing Toolbar Views
Next Topic:Dependency to compatibility layer in org.eclipse.e4.ui.workbench.addons.swt, MinMaxAddon...why?
Goto Forum:

Current Time: Wed May 23 05:37:19 GMT 2018

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

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

Back to the top