The two primary use cases I would love to have solved by this are: 1) Copying a subset of attributes from one table to another (Typically a set of "INVALIDATED/INVALIDATE_DATE attributes or a generic ID primary key).
2) Copying an entire Entity from one project to another. There are also times when I wish I could copy and paste the data description for a particular entity into an email when I'm discussing table structure with someone. My preference would be system-wide cut-and-paste. On 6/24/08, Andrus Adamchik (JIRA) <[email protected]> wrote: > > [ > https://issues.apache.org/cayenne/browse/CAY-1080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12981#action_12981 > ] > > Andrus Adamchik commented on CAY-1080: > -------------------------------------- > > I haven't looked at this in a while, but IIRC Java integrates with the OS > clipboard, so it would be ideal if CM copy/paste would operate using the > clipboard as well. So this sort of makes it cross-project and also cross > application. I.e. a user can paste what he copied to a text editor. (we can > use XML serialization built into most mapping objects to provide text > representation). > > > 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: Andrus Adamchik > > > > 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. > >
