cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Razumovsky (JIRA)" <...@cayenne.apache.org>
Subject [jira] Updated: (CAY-1080) Support for copy/paste of entities/attributes/relationships
Date Mon, 15 Sep 2008 10:33:11 GMT

     [ https://issues.apache.org/cayenne/browse/CAY-1080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrey Razumovsky updated CAY-1080:
-----------------------------------

    Attachment: patch-CAY-1080-2.txt

New patch, with changed behavior around #2 and #3

#2 Fixed that
#3 I think I know why you cannot paste an entity - previously you needed to select DataMap
to do that (so, when you press 'Cut', 'paste' button is still disabled). As this seems quite
unintuitive, I decided to enable pasting an entity when another entity (or query, or procedure)
is selected - it will be pasted to parent datamap. Hope this helps.

> 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.


Mime
View raw message