Re: New Tool: Click to Open
Re: New Tool: Click to Open
- Subject: Re: New Tool: Click to Open
- From: Chuck Hill <email@hidden>
- Date: Wed, 12 Mar 2008 15:37:05 -0700
On Mar 12, 2008, at 1:07 PM, Mike Schrag wrote:
Nah, no way Mike could do that. :-P
You know, I had the same thought. AND there IS an browser
integrated into Eclipse. But that would probably be way hard. I
don't think Mike is up to that.
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
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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