Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » new view on Same Page(new view on Same Page)
new view on Same Page [message #660865] Tue, 22 March 2011 07:04 Go to next message
sagar  is currently offline sagar Friend
Messages: 2
Registered: March 2011
Junior Member
I wanted to have one page or one window layout RCP application where new view has to open on same window/page with out creating new tab.

Is there a way to create such folder or layout on
createInitialLayout(IPageLayout layout) method of Prespective class.
Re: new view on Same Page [message #661549 is a reply to message #660865] Fri, 25 March 2011 09:25 Go to previous message
Santosh  is currently offline Santosh Friend
Messages: 5
Registered: March 2011
Junior Member
Hi Sagar,

I'm sorry if I missunderstood here.

Can you be more specific?

Usually if you add a view by using:-
final String editorArea = layout.getEditorArea ();
layout.setEditorAreaVisible (false);
layout.addView (EmployeesListView.ID, IPageLayout.RIGHT, 0.2f, CompanyListView.ID);

It (IPageLayout.XXX) will create a view exactly where you are wishing. However, if you are not adding a view to that layout it will create that view in a new tab.

If this is not your question, are you asking to create a multiple instances of the same view (perspectives with placeholders for new views) where new view has to open with out creating a new tab?


Thanks,
Santosh

[Updated on: Fri, 25 March 2011 10:02]

Report message to a moderator

Previous Topic:How to set background color for UI Element associated with command ?
Next Topic:Custom target platform, can't get show Splash
Goto Forum:
  


Current Time: Fri Apr 19 21:08:14 GMT 2024

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

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

Back to the top