[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.rcp] Re: Standalone views in a perspective
|
- From: Jean-Michel Lemieux <jean-michel@xxxxxx>
- Date: Fri, 08 Oct 2004 09:06:37 -0400
- Newsgroups: eclipse.platform.rcp
- Organization: EclipseCorner
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 MultiZilla/1.6.4.0b
Haven't tried this myself, but the following may work:
String editorArea = layout.getEditorArea();
layout.addStandaloneView(NavigatorsView.VIEW_ID,
false, IPageLayout.LEFT, 0.35f, editorArea);
layout.addStandaloneView("test.connect.ui.views.NetworkStatusView",
false, IPageLayout.BOTTOM, 0.35f, NavigatorsView.VIEW_ID);
Josh Beard wrote:
I am trying to stack two standalone views down the left hand side of a
perspective (the goal is to get rid of the titles and tabs), but since
these are not part of an IFolderLayout, this doesn't seem possible.
Here's a snip:
<snip>
public void createInitialLayout(IPageLayout layout) {
String editorArea = layout.getEditorArea();
layout.addStandaloneView(NavigatorsView.VIEW_ID, false,
IPageLayout.LEFT, 0.35f, editorArea);
layout.addStandaloneView("test.connect.ui.views.NetworkStatusView",
false, IPageLayout.BOTTOM, 0.35f, editorArea);
</snip>
This produces two views, side by side. Any suggestions? Or, any
different approaches to creating views that don't have tabs? Thanks!
-josh