Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Subclassing ControlEditor


Should already be fixed in the latest.  You only need to reimplement layout().



Jeremy Dowdall <jeremyd@xxxxxxxxxxxxxx>
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx

10/23/2006 08:15 AM

Please respond to
"Eclipse Platform SWT component developers list." <platform-swt-dev@xxxxxxxxxxx>

To
"Eclipse Platform SWT component developers list." <platform-swt-dev@xxxxxxxxxxx>
cc
Subject
[platform-swt-dev] Subclassing ControlEditor





I've a request to create a CTableTreeEditor
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=156549)
 which is almost as simple as doing a copy-and-paste of the TreeEditor
code, except that ControlEditor has two methods which are package protected:
 getBounds() and _resize()

It looks like I can get around using _resize() by overriding layout(),
but I'm not sure if I'm missing some intent by doing so.
getBounds(), on the other hand, seems to have me stuck as it is called
by other package protected methods (such as scroll()).

Any thoughts on the possibility of changing these two methods to protected?
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top