|
Re: I hate Swt browser [message #455895 is a reply to message #455871] |
Sat, 21 May 2005 08:59 |
Eclipse User |
|
|
|
Originally posted by: bob.objfac.com
michael wrote:
> This is such a bad design....
>
> Why can't I inherit from it? I can't add my own custom event. I need to
> get the MSHTML dom object and onDragStart event. I have to copy the
> whole org.eclipse.swt.browser in order to have all the funcationality.
> All the browser listener constructor is not public either, I have to
> copy everything and rename it so I don't get confuse. I don't think
> modifing the org.eclipse.swt.browser class is a good idea, that's why I
> want to put it in my own package.
You can't learn anything if you spend all your energy thinking how bad
it is. Instead of leaping to the conclusion you have to subclass the
browser class to do what you want, how about spelling out what you are
trying to accomplish. Then you'll get lots of help. (Even if what you
want to do is totally Windows-dependent, as it seems to be.)
Bob Foster
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02895 seconds