Home » Eclipse Projects » Rich Client Platform (RCP) » Perspective in editor(How to create perspective with view in editor)
Perspective in editor [message #501408] |
Wed, 02 December 2009 09:00 |
Matroska Messages: 2 Registered: December 2009 |
Junior Member |
|
|
Hi all, I am almost a newbie rcp developer. I have found many solutions using newsgroup but not for this. I need to set the perspective of my rcp app in order to show a view on the top left position but not to occupy the entire column, just the top left corner. On the bottom of the layout I would like tohave a console view that takes 2/3 of the columns. This could be the layout (X view is what I am trying to achieve).
A Editor X
A BBBBBB
Thanks in advance
[Updated on: Wed, 02 December 2009 09:03] Report message to a moderator
|
|
| |
Re: Perspective in editor [message #501481 is a reply to message #501450] |
Wed, 02 December 2009 14:18 |
Matroska Messages: 2 Registered: December 2009 |
Junior Member |
|
|
I have understood the problem. In perspective building order is important! So it is different to write:
layout.addStandaloneView(View1.ID, true, IPageLayout.LEFT, 0.3f,
editorArea);
layout.addStandaloneView(View2.ID, true, IPageLayout.RIGHT, 0.5f, editorArea);
layout.addStandaloneView(View3.ID, true,
IPageLayout.BOTTOM, 0.5f, editorArea);
from
layout.addStandaloneView(View1.ID, true, IPageLayout.LEFT, 0.3f,
editorArea);
layout.addStandaloneView(View3.ID, true,
IPageLayout.BOTTOM, 0.5f, editorArea);
layout.addStandaloneView(View2.ID, true, IPageLayout.RIGHT, 0.5f, editorArea);
Thanks.
Regards
[Updated on: Wed, 02 December 2009 14:47] Report message to a moderator
|
|
| |
Goto Forum:
Current Time: Thu Sep 19 17:26:34 GMT 2024
Powered by FUDForum. Page generated in 0.03876 seconds
|