You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Robert Zeigler (JIRA)" <ji...@apache.org> on 2009/02/23 19:36:45 UTC

[jira] Created: (CAY-1182) New copy and paste menu items should distinguish between copying objects and copying text

New copy and paste menu items should distinguish between copying objects and copying text
-----------------------------------------------------------------------------------------

                 Key: CAY-1182
                 URL: https://issues.apache.org/cayenne/browse/CAY-1182
             Project: Cayenne
          Issue Type: Improvement
          Components: CayenneModeler GUI
    Affects Versions: 3.0M5
         Environment: os x 10.5; java 1.5.
            Reporter: Robert Zeigler


I had some text that I wanted to copy and paste from one SQLTemplate to another.  After highlighting the text, I went to edit->copy, selected my other query, placed the cursor, and did edit->paste.  To my surprise*, the entirety of the sql template content (from all adapters that had content registered) was pasted. Given that copy/paste shortcuts work (well, /almost/ work on OS X, see CAY-1149) within the text panes, as a user, I would expect the copy/paste menu items to work as expected.  What may be tricky is figuring out the appropriate context.  But, in general, if there is selected text, I would assume that edit->copy/edit->cut should act on the select text, otherwise, they should work at the objentity/dbentity/query level.

*to be fair, the "copy" button did say copy /query/, rather than copy text, so I shoulda known, but... :)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.