Return-Path: Delivered-To: apmail-cayenne-dev-archive@www.apache.org Received: (qmail 64595 invoked from network); 19 Sep 2008 15:59:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Sep 2008 15:59:32 -0000 Received: (qmail 50628 invoked by uid 500); 19 Sep 2008 15:59:28 -0000 Delivered-To: apmail-cayenne-dev-archive@cayenne.apache.org Received: (qmail 50605 invoked by uid 500); 19 Sep 2008 15:59:28 -0000 Mailing-List: contact dev-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cayenne.apache.org Delivered-To: mailing list dev@cayenne.apache.org Received: (qmail 50581 invoked by uid 99); 19 Sep 2008 15:59:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Sep 2008 08:59:28 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Sep 2008 15:58:38 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2AA5B234C1DB for ; Fri, 19 Sep 2008 08:59:11 -0700 (PDT) Message-ID: <1870164024.1221839951173.JavaMail.jira@brutus> Date: Fri, 19 Sep 2008 08:59:11 -0700 (PDT) From: "Kevin Menard (JIRA)" To: dev@cayenne.apache.org Subject: [jira] Commented: (CAY-1080) Support for copy/paste of entities/attributes/relationships In-Reply-To: <848856088.1214287012123.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/cayenne/browse/CAY-1080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113#action_13113 ] Kevin Menard commented on CAY-1080: ----------------------------------- Okay, I finally decided to debug this a bit myself. I'm getting the following swallowed exception: java.io.IOException: system clipboard data unavailable I noticed this in PasteAction#getState, but likely is a problem for cut and copy as well. Env.: MacOS X 10.5.5, Java5. > 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.