Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Layout of views
Layout of views [message #461366] Wed, 10 January 2007 07:03 Go to next message
swetha  is currently offline swetha Friend
Messages: 10
Registered: July 2009
Junior Member
Hi All,

I have 4 views . I want to specify the size and position of the views
in a perspective..If opened those views in a perspective they are not
allowing to resize..

Actually I need to show three views as combined like a tabbed folder and
is arranged at rightmost side of the Eclipse.. and the 4th view is at the
center ....

Can anyone help me or provide a snippet for specifying those views...
Re: Layout of views [message #461393 is a reply to message #461366] Wed, 10 January 2007 11:42 Go to previous messageGo to next message
sujatha is currently offline sujathaFriend
Messages: 5
Registered: July 2009
Junior Member
plz search for perspective snippets in the web.

u may find ur solution!
Re: Layout of views [message #462157 is a reply to message #461366] Wed, 24 January 2007 01:22 Go to previous message
Eclipse UserFriend
Originally posted by: smerz.unwired.com.au

try this:

public class SomePerspective implements IPerspectiveFactory
{
public void createInitialLayout(IPageLayout layout)
{
//layout.setEditorAreaVisible(false);
layout.addStandaloneView(MyViewA.ID, false, IPageLayout.LEFT, 0.30f, layout.getEditorArea());
IFolderLayout folder = layout.createFolder("Net Folder", IPageLayout.RIGHT, 0.7f, layout.getEditorArea());
folder.addView(MyViewB.ID);
folder.addView(MyViewC.ID);
}
}
Previous Topic:How to display all possible actions in popup menu when use my own object that adapted to IResource?
Next Topic:How to monitor RCP Plugin memory using TPTP?
Goto Forum:
  


Current Time: Sun Oct 13 20:12:07 GMT 2024

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

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

Back to the top