|
I see in 1.38a that the clipboard was changed so that if the internal
clipboard was empty, but an image was in the system clipboard, the
system clipboard data would be opened in a new image. However, once I
copy something within ImageJ, I can no longer access the system
clipboard. A number of things:
1) In Clipboard.java, "else if (arg.equals("showsys"))" should be changed to
spaste to allow system pasting if the alt key is held down
2) In the Edit menu, if you have "Copy to System" it makes sense to
have "Paste from System"
3) System clipboard always is put in a new window, internal clipboard is
only in a new window if no window already exists. You can't paste directly
from the system to an open image
This would suggest we have 6 operations:
Copy to internal clipboard
Copy to system clipboard
Paste from internal clipboard to new image
Paste from internal clipboard to current image
Paste from system clipboard to new image
Paste from system clipboard to current image
Perhaps you could adopt the method most (at least Windows) applications use,
like both GIMP and IrfanView.
1) Copying automatically copies to both the internal clipboard (with any
special information, metadata etc) _and_ to the system clipboard
2) Pasting
always uses the most recently updated clipboard. This is a bit tricky,
but can be done. I'm sure someone has an idea how to do it.
3) Provide "Paste as New" menu item.
What do you all think?
Josh D
|