JFace provider property editor suggestion

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

JFace provider property editor suggestion

Postby dfayerma » Tue Oct 12, 2004 11:37 am

When editing JFace viewers, the property editor allows double clicking on the
provider properties to create new provider classes as an inner class.
That is very convenient but most of the times the providers will be defined in a separate classes and reused between UI components.

It would be great if the provider property editor had an ellipses button to pick a provider class from the list of classes visible from the project and implementing appropriate interface.
dfayerma
 
Posts: 30
Joined: Mon Sep 20, 2004 10:51 am
Location: Boston, USA

Re: JFace provider property editor suggestion

Postby Eric Clayberg » Thu Oct 14, 2004 1:01 pm

dfayerma wrote:When editing JFace viewers, the property editor allows double clicking on the provider properties to create new provider classes as an inner class. That is very convenient but most of the times the providers will be defined in a separate classes and reused between UI components. It would be great if the provider property editor had an ellipses button to pick a provider class from the list of classes visible from the project and implementing appropriate interface.

Done. This is now available in the current v2.1.1 build.
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

Postby dfayerma » Thu Oct 21, 2004 7:28 am

I appears that the new selection dialog for labelProvider property incorrectly filters avaliable classes to descendants of LabelProvider class only.
I should include all classes implementing ILabelProvider interface.

The content provider correctly filters on the appropriate IContentProvider interface.

Otherwise this new feature works perfectly, exactly how one would expect
dfayerma
 
Posts: 30
Joined: Mon Sep 20, 2004 10:51 am
Location: Boston, USA

Postby admin » Thu Oct 21, 2004 10:08 am

dfayerma wrote:I appears that the new selection dialog for labelProvider property incorrectly filters avaliable classes to descendants of LabelProvider class only.
I should include all classes implementing ILabelProvider interface.


Agree with small change.
May be it is better to show descendants of ITableLabelProvider as label providers for TableViewer and ILabelProvider for tree's and list's?
admin
Moderator
 
Posts: 166
Joined: Thu Jul 24, 2003 12:25 am

Postby dfayerma » Thu Oct 21, 2004 11:12 am

May be it is better to show descendants of ITableLabelProvider as label providers for TableViewer and ILabelProvider for tree's and list's?


Makes sence.
dfayerma
 
Posts: 30
Joined: Mon Sep 20, 2004 10:51 am
Location: Boston, USA

Postby admin » Fri Oct 22, 2004 7:18 am

Yes will find this change in new build.
admin
Moderator
 
Posts: 166
Joined: Thu Jul 24, 2003 12:25 am

Postby Eric Clayberg » Sat Oct 23, 2004 10:55 am

admin wrote:Yes will find this change in new build.

This is now available in the latest v2.1.1 update.
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 1 guest