Kevin Menard commented on CAY-1080:
-----------------------------------
And yet another observation.
The contents are in the clipboard, but not associated with the registered Cayenne transferrer. Instead, the contents are stored with the following flavor:
java.awt.datatransfer.DataFlavor[mimetype=application/x-java-serialized-object;representationclass=java.lang.String]
So, it looks like something is getting confused by our returning a String representation of the object.
> Support for copy/paste of entities/attributes/relationships
> -----------------------------------------------------------
>
> Key: CAY-1080
> URL: https://issues.apache.org/cayenne/browse/CAY-1080
> Project: Cayenne
> Issue Type: New Feature
> Components: CayenneModeler GUI
> Affects Versions: 3.0
> Reporter: Andrey Razumovsky
> Assignee: Kevin Menard
> Attachments: 1080.zip, patch-CAY-1080-2.txt
>
>
> Support for copy/paste of entities/attributes/relationships.
> This is GSoC 2008 task.
> Some of my ideas follow.
> We can implement copy-paste in two ways.
> First: the buffer is valid only within a sole project. So when you open another project, copied data is lost.
> Second, the buffer is stored in whole modeler application, or even system buffer. This allows to copy data between different projects, but is more complex because we need to create shallow copies of entities, attrs etc. Personally I use only one cayenne.xml currently.
-- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
This archive was generated by hypermail 2.0.0 : Fri Sep 19 2008 - 13:44:08 EDT