Custom user control support

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

Custom user control support

Postby dickyj » Fri Aug 15, 2003 10:27 am

Hi,
This is a great UI tool that you built. I am planning to write some custom user controls and am wondering when will you be releasing some specification on how to write custom user controls that can plug into your framework.

thanks,
Dicky
dickyj
 
Posts: 3
Joined: Thu Aug 14, 2003 3:16 pm

Re: Custom user control support

Postby admin » Sat Aug 16, 2003 8:06 pm

dickyj wrote:Hi,
This is a great UI tool that you built. I am planning to write some custom user controls and am wondering when will you be releasing some specification on how to write custom user controls that can plug into your framework.

thanks,
Dicky

Designer has basic version of code for custom controls support via extension points. But this code is currently internal mainly because after obfuscator the most interesting classes lose their names. We will try to publish interface and create sample open source project with control controbutions in next build.

BTW, what do you think about creating project on SourceForge for additional controls for SWT and Designer?
admin
Moderator
 
Posts: 166
Joined: Thu Jul 24, 2003 12:25 am

Postby dickyj » Sat Aug 16, 2003 9:27 pm

Hi,
I think it would be great to create a sourceforge project for custom controls. I would like to be involved if possible.

With regards to custom controls, actually, I am thinking of two things that are needed:
(1) The ability to extend on existing controls. This would be useful for example, if the user defines its own data binding, and would need the ability for controls to automatically bind to the data, like how Visual Basic is doing it with ADO.

(2) The ability to create completely new custom controls that plug into the GUI designer. I think you would need to publish an interface that require the least amount of work for someone to plug in their control into the designer. Hopefully, there would not be too much work needed on the GEF model coding...

Dicky
dickyj
 
Posts: 3
Joined: Thu Aug 14, 2003 3:16 pm

Postby admin » Sat Aug 16, 2003 9:34 pm

dickyj wrote:Hi,
I think it would be great to create a sourceforge project for custom controls. I would like to be involved if possible.

There is already project "eclipsedesigner" on SF, I will create new module for additional controls.

dickyj wrote:With regards to custom controls, actually, I am thinking of two things that are needed:
(1) The ability to extend on existing controls. This would be useful for example, if the user defines its own data binding, and would need the ability for controls to automatically bind to the data, like how Visual Basic is doing it with ADO.

Hm... This looks as separate task not related directly with Designer...

dickyj wrote:(2) The ability to create completely new custom controls that plug into the GUI designer. I think you would need to publish an interface that require the least amount of work for someone to plug in their control into the designer. Hopefully, there would not be too much work needed on the GEF model coding...

In reallity how user will create new control is not Designer problem. Designer will support adding new controls by writing one simple class inside of additional plugin (of course one plugin can have several control contributions).
admin
Moderator
 
Posts: 166
Joined: Thu Jul 24, 2003 12:25 am

Postby dickyj » Sun Aug 17, 2003 11:09 am

admin wrote:
dickyj wrote:Hi,
I think it would be great to create a sourceforge project for custom controls. I would like to be involved if possible.

There is already project "eclipsedesigner" on SF, I will create new module for additional controls.

dickyj wrote:With regards to custom controls, actually, I am thinking of two things that are needed:
(1) The ability to extend on existing controls. This would be useful for example, if the user defines its own data binding, and would need the ability for controls to automatically bind to the data, like how Visual Basic is doing it with ADO.

Hm... This looks as separate task not related directly with Designer...

Well, it would be nice if the data binding property appears in the property sheet of the Designer, so I would assume that it requires some kind of extension to the existing controls...

dickyj wrote:(2) The ability to create completely new custom controls that plug into the GUI designer. I think you would need to publish an interface that require the least amount of work for someone to plug in their control into the designer. Hopefully, there would not be too much work needed on the GEF model coding...

In reallity how user will create new control is not Designer problem. Designer will support adding new controls by writing one simple class inside of additional plugin (of course one plugin can have several control contributions).


Well, looking forward to the interface...
dickyj
 
Posts: 3
Joined: Thu Aug 14, 2003 3:16 pm


Return to SWT Designer

Who is online

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