Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Is there Frame in SWT?
Is there Frame in SWT? [message #448099] Sat, 01 January 2005 21:37 Go to next message
Eclipse UserFriend
Originally posted by: lexinshan.yahoo.com

Hi,

Is there a notion of frame (or equivalence) in SWT? What i want to do is
have a view, which contains two tables divided by a movable bar. I think
some kind of frame can do this for me. Can you show me where i should look
into?

Thank you very much.

Lexin
Re: Is there Frame in SWT? [message #448101 is a reply to message #448099] Sat, 01 January 2005 23:06 Go to previous messageGo to next message
Liam Morley is currently offline Liam MorleyFriend
Messages: 47
Registered: July 2009
Member
It sounds like org.eclipse.swt.widgets.Sash is what you want for the
movable bar, all of that can be added to a Composite which is in turn
added to your view.

Though when I think of Frame in AWT I generally think of Shell in SWT...
Shell is typically used when developing with your own window, outside a
view. If you're developing a view inside an Eclipse plug-in, everything
goes inside of a Composite. Which means everything is a Control- so I'd
suggest looking at the Control heirarchy.



Lexin Shan wrote:
> Hi,
>
> Is there a notion of frame (or equivalence) in SWT? What i want to do is
> have a view, which contains two tables divided by a movable bar. I think
> some kind of frame can do this for me. Can you show me where i should look
> into?
>
> Thank you very much.
>
> Lexin
>
>


--
Liam Morley
Computer Science Undergraduate
Worcester Polytechnic Institute
Re: Is there Frame in SWT? [message #448106 is a reply to message #448099] Sun, 02 January 2005 14:58 Go to previous message
Eclipse UserFriend
Originally posted by: micasim.gmx.de

On Sat, 1 Jan 2005 13:37:23 -0800, Lexin Shan <lexinshan@yahoo.com> wrote:

> Hi,
>
> Is there a notion of frame (or equivalence) in SWT? What i want to do is
> have a view, which contains two tables divided by a movable bar. I think
> some kind of frame can do this for me. Can you show me where i should
> look
> into?
>
> Thank you very much.
>
> Lexin
>
>

Hi Lexin,

Create an org.eclipse.swt.custom.SashForm and put in the two tables.
That's all.

Hope this helps,
Michael
Previous Topic:View Change Keyboard Bindings Not Working on Fedora Core 3/KDE
Next Topic:Table column size
Goto Forum:
  


Current Time: Sun Oct 25 19:25:45 GMT 2020

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

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

Back to the top