> so a user can drag a svg document from any OS folder on to the
> 'LocationBar' and when
> the user drops, the svg is opened.

This sounds great! :-) I've also recently bumped into this Squiggle
limitation and thought that drag&drop support would be most
convenient. I had thought about using the whole document canvas as a
drop location but I believe using the location bar only (your
suggestion) makes the behavior a bit more self-contained and this
might be better: for example, the document canvas as drop location is
used, in some applications, to embed external content so it might
users may be confused (?) on what dropping over an existing document
will do.

I've checked requirements and dependencies seem to beavailable since
Java 1.2, so it seems aligned with current pre-requisites (apparently
1.4 as 1.3 support was recently dropped [2]). It would surely be a
simple and useful enhancement for Squiggle! ;-)

Finally, although I'm not familiar with "dnd" package, I'd suggest
using "DnDConstants.ACTION_LINK" [3] (or
"DnDConstants.ACTION_REFERENCE") instead of "DnDConstants.ACTION_COPY"
- in fact, it's what we'll be doing (open the dragged&dropped
document, not pasting its contents).

Regards,

 Helder Magalhães

[1] http://java.sun.com/j2se/1.4.2/docs/api/java/awt/dnd/package-summary.html
[2] http://svn.apache.org/viewvc?view=rev&revision=666001
[3] http://java.sun.com/j2se/1.4.2/docs/api/java/awt/dnd/DnDConstants.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to