Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » What is this widget?
What is this widget? [message #464719] Tue, 29 November 2005 05:56 Go to next message
Jeff Yuan is currently offline Jeff YuanFriend
Messages: 34
Registered: July 2009
Member
What is the widget that eclipse uses extensively for all its three columns
layout, where there is a mini minimize and maximize button? Does anyone
know which one I'm talking about?
Re: What is this widget? [message #464723 is a reply to message #464719] Tue, 29 November 2005 08:04 Go to previous messageGo to next message
Lorenz Maierhofer is currently offline Lorenz MaierhoferFriend
Messages: 88
Registered: July 2009
Member
It is called "View" and is a highlevel part provided by the eclipse
workbench.

zinc wrote:
> What is the widget that eclipse uses extensively for all its three
> columns layout, where there is a mini minimize and maximize button?
> Does anyone know which one I'm talking about?
>
Re: What is this widget? [message #464746 is a reply to message #464723] Tue, 29 November 2005 13:44 Go to previous messageGo to next message
Jeff Yuan is currently offline Jeff YuanFriend
Messages: 34
Registered: July 2009
Member
Is this a viewForm that you're talking about? I can't seem to find a
widget called "View" in org.eclipse.swt.widgets. I wanted to use the same
widget in an SWT app I'm creating.
Re: What is this widget? [message #464748 is a reply to message #464746] Tue, 29 November 2005 14:03 Go to previous messageGo to next message
Jeff Yuan is currently offline Jeff YuanFriend
Messages: 34
Registered: July 2009
Member
Nevermind, I found the answer to my questions about some research...
Re: What is this widget? [message #464754 is a reply to message #464746] Tue, 29 November 2005 14:15 Go to previous messageGo to next message
Robert Enyedi is currently offline Robert EnyediFriend
Messages: 68
Registered: July 2009
Member
Because this is a higher level GUI component it does not belong to SWT. It doesn't belong neither to JFace, but to the org.eclipse.ui plugin.

This means that I don't really see how you could use it for your standalone SWT application. Actually what would you like to use the view control for? To have the same look and dynamic behavior as seen in the Eclipse IDE?
Re: What is this widget? [message #464768 is a reply to message #464748] Tue, 29 November 2005 17:37 Go to previous messageGo to next message
Stephen is currently offline StephenFriend
Messages: 47
Registered: July 2009
Member
zinc wrote:

> Nevermind, I found the answer to my questions about some research...

Can you please share your knowledge with me on your results. I'm also
willing to make such kinda things.


Regards;
Stephen
Re: What is this widget? [message #464770 is a reply to message #464768] Tue, 29 November 2005 17:55 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
You can use the SWT spy tool to find out what widget is being used in any
Eclipse plugin:

http://eclipse.org/swt/tools.php


"Stephen" <swmk.stephen@xxxxx.com> wrote in message
news:9c620dc9011122ccee60ab2e1438220a$1@www.eclipse.org...
> zinc wrote:
>
>> Nevermind, I found the answer to my questions about some research...
>
> Can you please share your knowledge with me on your results. I'm also
> willing to make such kinda things.
>
>
> Regards;
> Stephen
>
Re: What is this widget? [message #464785 is a reply to message #464754] Tue, 29 November 2005 19:56 Go to previous messageGo to next message
Benjamin Pasero is currently offline Benjamin PaseroFriend
Messages: 337
Registered: July 2009
Senior Member
Robert Enyedi wrote:
> Because this is a higher level GUI component it does not belong to SWT. It doesn't belong neither to JFace, but to the org.eclipse.ui plugin.
>
> This means that I don't really see how you could use it for your standalone SWT application. Actually what would you like to use the view control for? To have the same look and dynamic behavior as seen in the Eclipse IDE?

You can use it from the custom package of SWT. In this case: ViewForm.

Ben
Re: What is this widget? [message #464787 is a reply to message #464785] Tue, 29 November 2005 20:33 Go to previous messageGo to next message
Robert Enyedi is currently offline Robert EnyediFriend
Messages: 68
Registered: July 2009
Member
Yes I saw this component but for instance does it have a caption like views do?
Re: What is this widget? [message #464789 is a reply to message #464785] Tue, 29 November 2005 20:40 Go to previous messageGo to next message
James Leotta is currently offline James LeottaFriend
Messages: 203
Registered: July 2009
Senior Member
Benjamin Pasero wrote:
> Robert Enyedi wrote:
>> Because this is a higher level GUI component it does not belong to
>> SWT. It doesn't belong neither to JFace, but to the org.eclipse.ui
>> plugin.
>>
>> This means that I don't really see how you could use it for your
>> standalone SWT application. Actually what would you like to use the
>> view control for? To have the same look and dynamic behavior as seen
>> in the Eclipse IDE?
>
> You can use it from the custom package of SWT. In this case: ViewForm.
>
> Ben
Look up RCP Sample under the RCP newsgroup. Someone wrote a tutorial on
using Views along with some other stuff to make your standalone
application utilized the eclipse framework.
Re: What is this widget? [message #464805 is a reply to message #464719] Wed, 30 November 2005 05:55 Go to previous messageGo to next message
Jeff Yuan is currently offline Jeff YuanFriend
Messages: 34
Registered: July 2009
Member
How does Eclipse have such nice borders around its widgets? You know,
around all the columns there is a nice thin border that seperates them,
and also rounded edges. Are these done using SashForm? If so, I can't get
mine to look quite like that.
Re: What is this widget? [message #464809 is a reply to message #464768] Wed, 30 November 2005 06:15 Go to previous messageGo to next message
Jeff Yuan is currently offline Jeff YuanFriend
Messages: 34
Registered: July 2009
Member
I was speaking about CTabFolder, you can set a minimize and maximize
button to it.

That's what I was referring to.
Re: What is this widget? [message #464836 is a reply to message #464805] Wed, 30 November 2005 15:39 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
The spacing is done by the layout.

The round corners are from calling CTabFolder.setSimple(false);

"zinc" <zincsterio@yahoo.com> wrote in message
news:bc1e3938c2ea20a175d5f29832de27d5$1@www.eclipse.org...
> How does Eclipse have such nice borders around its widgets? You know,
> around all the columns there is a nice thin border that seperates them,
> and also rounded edges. Are these done using SashForm? If so, I can't get
> mine to look quite like that.
>
Previous Topic:PNG icons in ToolBars
Next Topic:OleAutomation parameters problem
Goto Forum:
  


Current Time: Thu Nov 27 02:01:30 GMT 2014

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

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