[JFace] ViewerColumn and EditingSupport [message #327927] |
Thu, 08 May 2008 14:31 |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
Is there any particular reason why ViewerColumn.getEditingSupport() is
not public or at least protected?
I've written a "builder" that builds custom TableViewerColumns using
custom EditingSupports and CellEditors. The clients of this builder
sometimes need access to the EditingSupport (my custom subclass), but
there is no easy way for them to access it because getEditingSupport()
is only package-visible.
I understand the SWT/JFace philosophy of minimalism when it comes to
API, but a public getter for something that already has a public setter
seems like a reasonable request. As it is, I have to subclass
ViewerColumn, and I can't even subclass TableViewerColumn because it is
final (argh!).
I was thinking of filing a bug about it, but maybe there is a
pre-existing reason it is the way it is...?
Eric
|
|
|
|
Powered by
FUDForum. Page generated in 0.03148 seconds