Where are the FileDialog and Color picker widgets?

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Where are the FileDialog and Color picker widgets?

Postby diltonm » Thu Apr 16, 2009 7:10 pm

Where is the Palette widget for this:
http://dev.eclipse.org/viewcvs/index.cg ... va?view=co

Thanks!
diltonm
 
Posts: 12
Joined: Sat Apr 04, 2009 7:13 pm

Re: Where are the FileDialog and Color picker widgets?

Postby Eric Clayberg » Fri Apr 17, 2009 4:02 am

FileDialog is a dialog; not a widget
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Where are the FileDialog and Color picker widgets?

Postby diltonm » Fri Apr 17, 2009 6:06 am

Guess I used the wrong term also guessing your response means you guys have no plans to add these to the Palette Manager.

Thanks for the response.
diltonm
 
Posts: 12
Joined: Sat Apr 04, 2009 7:13 pm

Re: Where are the FileDialog and Color picker widgets?

Postby Eric Clayberg » Fri Apr 17, 2009 7:13 am

FileDialog isn't a widget so it can't be placed into a window, so it doesn't make sense to add it to the palette.

What color picker are you referring to?
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Where are the FileDialog and Color picker widgets?

Postby diltonm » Fri Apr 17, 2009 9:17 am

You're right, widget doesn't apply. In tools like Visual Studio, NetBeans, Gambas, the "tools" palette has a Dialogs section. That's what I was referring to.
diltonm
 
Posts: 12
Joined: Sat Apr 04, 2009 7:13 pm

Re: Where are the FileDialog and Color picker widgets?

Postby Eric Clayberg » Fri Apr 17, 2009 1:22 pm

SWT Designer is only a GUI builder, so I'm not sure what you would do with a FileDialog on the palette since it couldn't be dropped on a window.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Where are the FileDialog and Color picker widgets?

Postby diltonm » Fri Apr 17, 2009 7:25 pm

Well, I tried this earlier today, I used "Choose Composite" and specified FileDialog. SWT Designer added a Bean called FileDialog to the bottom of the Palette Manager.

I then dragged it to the window and the only place the X didn't show up was the title bar so I dropped it there.

The properties window was populated with the FileDialog properties and I was able to edit them.

Switching back to Source view, the code was oddly placed at the top of createPartControl and the FileDialog constructor was not filled in.

I understand it does not work since Designer was not designed to let the user work with common dialog controls.

Thanks.
diltonm
 
Posts: 12
Joined: Sat Apr 04, 2009 7:13 pm

Re: Where are the FileDialog and Color picker widgets?

Postby Eric Clayberg » Sun Apr 19, 2009 12:16 pm

Note that v7.0 does not allow this.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to SWT Designer

Who is online

Users browsing this forum: No registered users and 2 guests