Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » SWT.BOTTOM does not work
SWT.BOTTOM does not work [message #188127] Mon, 02 February 2004 04:51 Go to next message
Eclipse UserFriend
Originally posted by: t1.s-neubert.net

Hello everyone,

trying to write my first plugin, I've found a serious plroblem. Here is
the code I use to add two views to the plugins perspective within the
MyPerspectiveFactory

----------------------
String editorArea = layout.getEditorArea();
IFolderLayout messages = layout.createFolder(
"messages", SWT.BOTTOM, 0.2f, editorArea);
messages.addView("org.eclipse.myplugin.views.MessagesView");
------------------------

When I test the perpective with the code above, eclipse, does not position
the view at the bottom but at the left side. The same is true for SWT.TOP.
Is that a bug or am I doing something wrong?

Kind reagrds, Tobias Neubert
Re: SWT.BOTTOM does not work [message #188674 is a reply to message #188127] Tue, 03 February 2004 10:24 Go to previous message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

Tobias Neubert wrote:

>Hello everyone,
>
>trying to write my first plugin, I've found a serious plroblem. Here is
>the code I use to add two views to the plugins perspective within the
>MyPerspectiveFactory
>
>----------------------
>String editorArea = layout.getEditorArea();
>IFolderLayout messages = layout.createFolder(
> "messages", SWT.BOTTOM, 0.2f, editorArea);
>messages.addView("org.eclipse.myplugin.views.MessagesView");
>------------------------
>
>When I test the perpective with the code above, eclipse, does not position
>the view at the bottom but at the left side. The same is true for SWT.TOP.
>Is that a bug or am I doing something wrong?
>
>
The latter. Use IPageLayout.BOTTOM.

Dani

>Kind reagrds, Tobias Neubert
>
>
>
Previous Topic:Eclipse runtime problem
Next Topic:Text Editor
Goto Forum:
  


Current Time: Tue Jul 15 11:14:14 EDT 2025

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

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

Back to the top