Bug 26160 - Cut/Copy/Paste global actions not hooked in properties view
Summary: Cut/Copy/Paste global actions not hooked in properties view
Status: RESOLVED DUPLICATE of bug 13776
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Wassim Melhem CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-13 14:21 EST by Tod Creasey CLA
Modified: 2003-01-24 10:34 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tod Creasey CLA 2002-11-13 14:21:35 EST
20021117

If you try and paste using Ctrl+V in the Properties View nothing happens 
although selecting paste from the menu works. Likewise for Ctrl+Z for Undo

STEPS
1) Open the properties view
2) Select a field to edit
3) Hit Ctrl+V nothing
4) Select Paste - current selection will be pasted.
Comment 1 Nick Edgar CLA 2002-11-14 10:53:08 EST
Works OK in Tasks view's cell editor, so may not be a general keybindings 
problem.  But this should work for M3.

What scenario did you use to get an editable property?
Comment 2 Nick Edgar CLA 2002-11-15 10:18:49 EST
Tod says it was in the PDE Schema editor, but I can't reproduce it.
Won't fix for M3.
Comment 3 Nick Edgar CLA 2002-11-15 10:53:41 EST
This a problem with the PDE property page.
It has Cut/Copy/Paste in the context menu for the cell editor, but does not 
hook the global actions.
Comment 4 Dejan Glozic CLA 2002-12-02 14:49:39 EST
PDE uses general-purpose property sheet view. Should PDE itself hook the global 
actions? It seems natural to me that property sheet view supports this hook (at 
least for the cell editors provided by platform UI).
Comment 5 Nick Edgar CLA 2002-12-02 15:49:14 EST
I thought PDE supplied its own property sheet page.  If so, it needs to handle 
these itself.
Comment 6 Dejan Glozic CLA 2002-12-02 15:58:39 EST
Our property sheet page extends PropertySheetPage. Are we wrong to expect to 
inherit the key bindings?
Comment 7 Nick Edgar CLA 2002-12-02 16:13:55 EST
In that case it should work.  In PropertySheetPage, the copy action is created 
in makeActions, and hooked as the global action handler in setActionBars.
Comment 8 Dejan Glozic CLA 2002-12-02 16:28:59 EST
I noticed that we override 'makeActions' without calling 'super' (because we do 
not want all the standard actions showing up), so that explains 'Copy' action 
in the standard mode. However, based on what I saw in the code, your global 
action handler handles all kinds of edit actions for currently active cell 
editors, and we do not block that code. That one should still work by default 
and is the most important for us.
Comment 9 Nick Edgar CLA 2002-12-02 16:42:19 EST
PropertySheetpage.makeActions is private, and therefore your makeActions should 
be treated as a completely unrelated method.  Our makeActions should still be 
called, as long as you do a super send to createControl.
Comment 10 Wassim Melhem CLA 2003-01-24 10:34:33 EST

*** This bug has been marked as a duplicate of 13776 ***