Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » displaying a view in the editor area
displaying a view in the editor area [message #436012] Mon, 29 August 2005 18:39 Go to next message
Duncan Krebs is currently offline Duncan KrebsFriend
Messages: 79
Registered: July 2009
Member
Hi,
I'm not sure if I'm thinking about this right in eclipse terms. But when
my application opens I have a traditional layout with a view on the left
side and the editor area on the right side taking up most of the app.

When the user first opens my app I have a view that displays a welcome web
page. I want this view to be displayed as a page in the editor area so it
fills the entire editor area but know how to do that. Is it possible to
display a view as a page in the edior area? Any ideas greatly appreciated.
Re: displaying a view in the editor area [message #436051 is a reply to message #436012] Tue, 30 August 2005 12:43 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Duncan Krebs wrote:
> Hi,
> I'm not sure if I'm thinking about this right in eclipse terms. But when
> my application opens I have a traditional layout with a view on the left
> side and the editor area on the right side taking up most of the app.
> When the user first opens my app I have a view that displays a welcome
> web page. I want this view to be displayed as a page in the editor area
> so it fills the entire editor area but know how to do that. Is it
> possible to display a view as a page in the edior area? Any ideas
> greatly appreciated.

No, you can't put a view in the editor area ... what about something
like the current welcome perspective (intro perspective? intro view?)

When the app starts up, you see the intro, provide a button that gets
rid of it or something.

Check out the org.eclipse.ui.intro plugin (import>external plug-ins and
fragments>(projects with source folders) ) to browse the source.

Later,
PW


Re: displaying a view in the editor area [message #436063 is a reply to message #436051] Tue, 30 August 2005 17:34 Go to previous message
Steve Blass is currently offline Steve BlassFriend
Messages: 276
Registered: July 2009
Senior Member
You can hide the editor area in your perspective definition and let a
view fill the space.
public void createInitialLayout(IPageLayout layout) {
String editorArea = layout.getEditorArea();
layout.setEditorAreaVisible(false);
....
}


Paul Webster wrote:
> Duncan Krebs wrote:
>
>> Hi,
>> I'm not sure if I'm thinking about this right in eclipse terms. But
>> when my application opens I have a traditional layout with a view on
>> the left side and the editor area on the right side taking up most of
>> the app.
>> When the user first opens my app I have a view that displays a welcome
>> web page. I want this view to be displayed as a page in the editor
>> area so it fills the entire editor area but know how to do that. Is it
>> possible to display a view as a page in the edior area? Any ideas
>> greatly appreciated.
>
>
> No, you can't put a view in the editor area ... what about something
> like the current welcome perspective (intro perspective? intro view?)
>
> When the app starts up, you see the intro, provide a button that gets
> rid of it or something.
>
> Check out the org.eclipse.ui.intro plugin (import>external plug-ins and
> fragments>(projects with source folders) ) to browse the source.
>
> Later,
> PW
Previous Topic:Has ANYONE succeeded in deploying RCP plugin in Eclipse 3.1 to run in WebStart?
Next Topic:RetargetAction key binding only works when subclassing?
Goto Forum:
  


Current Time: Sun Dec 08 10:33:20 GMT 2024

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

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

Back to the top