Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Views placement in one perspective
Views placement in one perspective [message #663170] Mon, 04 April 2011 08:20 Go to next message
arkadyz  is currently offline arkadyz
Messages: 16
Registered: March 2011
Junior Member
Hello

I have 3 views: V1, V2 and V3 and would like to place them as following:

| V1 | V2 |
------------
| V3 |

I.e. V3 spans the whole bottom. I am currently doing following in "perspectiveExtension" of plugin.xml:

1. For V1: relationShip = left, relative = org.eclipse.ui.editorss.

2. For V2: relationShip = right, relative = org.eclipse.ui.editorss.

3. For V3: relationShip = bottom. But what should be the value of "relative" ? If I assign V1 or V2, it will be placed under the view I assigned...

Thank you,
Arkady.
Re: Views placement in one perspective [message #663171 is a reply to message #663170] Mon, 04 April 2011 08:23 Go to previous messageGo to next message
arkadyz  is currently offline arkadyz
Messages: 16
Registered: March 2011
Junior Member
May be my picture is misleading, I meant V3 will take the whole bottom (not under V1 only).
Re: Views placement in one perspective [message #663242 is a reply to message #663170] Mon, 04 April 2011 12:21 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

On 04/04/2011 04:20 AM, arkadyz wrote:
> Hello
>
> I have 3 views: V1, V2 and V3 and would like to place them as following:
>
> | V1 | V2 |
> ------------
> | V3 |
>
> I.e. V3 spans the whole bottom. I am currently doing following in
> "perspectiveExtension" of plugin.xml:
>
> 1. For V1: relationShip = left, relative = org.eclipse.ui.editorss.
>
> 2. For V2: relationShip = right, relative = org.eclipse.ui.editorss.
>
> 3. For V3: relationShip = bottom. But what should be the value of
> "relative" ? If I assign V1 or V2, it will be placed under the view I
> assigned...

you have to do something like place V1, place V3 under V1, then place V2
next to V1

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm


Re: Views placement in one perspective [message #663247 is a reply to message #663242] Mon, 04 April 2011 12:56 Go to previous message
arkadyz  is currently offline arkadyz
Messages: 16
Registered: March 2011
Junior Member
Paul,

You are the best !!! It succeeded, thank you.
Previous Topic:Eclipse and Java FX
Next Topic:Eclipse Presentation API: Customize L&F of minimized views
Goto Forum:
  


Current Time: Wed Sep 03 07:19:53 GMT 2014

Powered by FUDForum. Page generated in 0.15211 seconds