Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » What is this widget?
What is this widget? [message #464719] Tue, 29 November 2005 00:56 Go to next message
Eclipse UserFriend
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 03:04 Go to previous messageGo to next message
Eclipse UserFriend
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 08:44 Go to previous messageGo to next message
Eclipse UserFriend
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 09:03 Go to previous messageGo to next message
Eclipse UserFriend
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 09:15 Go to previous messageGo to next message
Eclipse UserFriend
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 12:37 Go to previous messageGo to next message
Eclipse UserFriend
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 12:55 Go to previous messageGo to next message
Eclipse UserFriend
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 14:56 Go to previous messageGo to next message
Eclipse UserFriend
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 15:33 Go to previous messageGo to next message
Eclipse UserFriend
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 15:40 Go to previous messageGo to next message
Eclipse UserFriend
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 00:55 Go to previous messageGo to next message
Eclipse UserFriend
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 01:15 Go to previous messageGo to next message
Eclipse UserFriend
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 10:39 Go to previous message
Eclipse UserFriend
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: Mon Jul 07 12:02:49 EDT 2025

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

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

Back to the top