Is the widget in the middle of swt-designer available?

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

Is the widget in the middle of swt-designer available?

Postby scharf » Wed Sep 17, 2003 4:52 pm

Hi,

I really like the cool widget in the middle of swt-designer design page (the widget, that contains the Controls in categories and has the little pins). I assume this is a windows-olny widget? Is this widget available somehow?

Michael
scharf
 
Posts: 9
Joined: Thu Aug 28, 2003 1:39 pm

Postby admin » Wed Sep 17, 2003 7:43 pm

This is not really widget, i.e. SWT control. Palette is GEF/Draw2D figure that is standard for all GEF-based editors and available with source in GEF SDK. And it works not only under Windows, but also for other operating systems.
admin
Moderator
 
Posts: 166
Joined: Thu Jul 24, 2003 12:25 am

Postby Paul Singleton » Wed Sep 24, 2003 5:44 am

admin wrote:This is not really widget, i.e. SWT control. Palette is GEF/Draw2D figure that is standard for all GEF-based editors and available with source in GEF SDK. And it works not only under Windows, but also for other operating systems.

But could it (in principle, at least) be wrapped as an SWT third-party custom control, and added (with cool 8) self-reference) to Designer's Control Palette?

You know, like we can add zillions of ActiveX controls to VB :wink:
Paul Singleton
Jambusters Ltd
Paul Singleton
 
Posts: 7
Joined: Wed Sep 24, 2003 4:33 am
Location: CREWE, England

Postby admin » Wed Sep 24, 2003 8:49 pm

Sorry, this is not first line task for us.
You all have source code of GEF, so feel free to do this yourself. :-)
admin
Moderator
 
Posts: 166
Joined: Thu Jul 24, 2003 12:25 am

Postby Paul Singleton » Thu Sep 25, 2003 5:42 am

admin wrote:Sorry, this is not first line task for us.
You all have source code of GEF, so feel free to do this yourself. :-)

Hey, this was just a question, not a feature request! :o

I see from your roadmap that you plan to support user written controls using extention points - that's great.

I just wondered, given that you guys must know GEF and its control palette really well, whether you reckon it could be _wrapped_ as an SWT control, requiring gef.jar to be redistributed with apps (or would the source have to be hacked? :roll:)

Thinks: should the GEF crowd be writing cool controls for Eclipse that DON'T fit into the SWT/JFace framework? Should GEF be more integrated? Presumably y'all use Designer to develop itself, but had to code the Control Palette and Content Pane gui stuff by hand? :?
Paul Singleton
Jambusters Ltd
Paul Singleton
 
Posts: 7
Joined: Wed Sep 24, 2003 4:33 am
Location: CREWE, England

Postby admin » Thu Sep 25, 2003 8:00 pm

Paul Singleton wrote:
admin wrote:Sorry, this is not first line task for us.
You all have source code of GEF, so feel free to do this yourself. :-)

Hey, this was just a question, not a feature request! :o

Yes, I understand.

Paul Singleton wrote:I see from your roadmap that you plan to support user written controls using extention points - that's great.

Yes, we have code for support user controls, at least in easy cases, when only new properties are added (i.e. without support user edit policies). Only thing I should wait is decision to use or not obfuscator.

Paul Singleton wrote:I just wondered, given that you guys must know GEF and its control palette really well, whether you reckon it could be _wrapped_ as an SWT control, requiring gef.jar to be redistributed with apps (or would the source have to be hacked? :roll:)

We know GEF, at least many parts of it, but palette control is internal, i.e. we don't use it directly, it is used by GEF itself. So, we can look inside of it and try to implement it in pure SWT, but we will not do this. :-)

Paul Singleton wrote:Thinks: should the GEF crowd be writing cool controls for Eclipse that DON'T fit into the SWT/JFace framework? Should GEF be more integrated? Presumably y'all use Designer to develop itself, but had to code the Control Palette and Content Pane gui stuff by hand? :?

Both control palette and content pane have big support in GEF, what we do is writing code for painting figures, edit policies for support layouts and complex controls. And of course big pieces of code for editing source code.
admin
Moderator
 
Posts: 166
Joined: Thu Jul 24, 2003 12:25 am


Return to SWT Designer

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 1 guest