Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[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?


Back to the top