Re: New Tool: Click to Open
Re: New Tool: Click to Open
- Subject: Re: New Tool: Click to Open
- From: Guido Neitzer <email@hidden>
- Date: Wed, 12 Mar 2008 23:47:38 +0100
On 12.03.2008, at 23:37, Chuck Hill wrote:
Funny thing is that if I can make it work in Eclipse in the Browser
view, it actually probably COULD be done onto Safari outside. The
biggest problem here -- and if you try this in the nightly you can
see it happen -- is that Eclipse is a carbon app, and apparently
the WebKit view for Carbon is always-on-top. You can't put any
components over it. In fact, occasionally you can see that when
you resize the outline view it's actually not CONTAINED inside its
parent -- it's kept in-sync and drawn over top of it in the correct
square (when your machine is under load, you can sometimes see it
lag SLIGHTLY behind your resize). Well, this, unfortunately,
screws us, because it means we can't drag with the fancy drag-and-
drop binding trick that we are currently using, which is putting a
transparent component on top of the eclipse shell and drawing, but
it's always UNDER the browser view. If you drag over to outline,
you'll see the drag just stops at the edge until you come back
out. This frustrates me to no end. I'm hoping that the new Cocoa
SWT implementation will fix this, because everything will be Cocoa
and it won't be the HI junk anymore. I wouldn't expect this until
AT LEAST the next major release of Eclipse, though. I do have some
other tricks to try, though ... It's possible that even though I
can't draw over top, maybe I can at least detect the drag events on
the browser that were initiated outside, and switch to provide drag-
over feedback in the browser control (possibly even from
Javascript), though I'd have to turn off the line drag at the
switchover point.
Sounds suspiciously like "I can't"...
:-P
I'd say, it's not possible.
cug
:-P
--
http://www.event-s.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden