Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 217247

Summary: add key binding for "Del" in the Task Repositories view
Product: z_Archived Reporter: Tomasz Zarna <tomasz.zarna>
Component: MylynAssignee: maarten meijer <mjmeijer>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P4 CC: steffen.pingel
Version: devKeywords: helpwanted
Target Milestone: 2.3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Added key equivalents for Delete and Refresh (F5)
none
mylyn/context/zip
none
Added hookGlobalActions for Delete and Refresh
none
mylyn/context/zip
none
modified patch none

Description Tomasz Zarna CLA 2008-01-31 06:43:13 EST
 
Comment 1 Steffen Pingel CLA 2008-02-19 21:55:42 EST
Maarten, would you be interested in contributing a patch for this?
Comment 2 maarten meijer CLA 2008-02-21 04:48:37 EST
Created attachment 90317 [details]
Added key equivalents for Delete and Refresh (F5)

Also hooked into the global actions to enable those menus.
Still can't work out how to show the nice Delete key icon behind the menu though :-(
Comment 3 maarten meijer CLA 2008-02-21 04:48:39 EST
Created attachment 90318 [details]
mylyn/context/zip
Comment 4 maarten meijer CLA 2008-02-21 04:49:36 EST
 (In reply to comment #1)
> Maarten, would you be interested in contributing a patch for this?
Sure, i already fixed it more or less....
Comment 5 maarten meijer CLA 2008-02-21 05:37:53 EST
 (In reply to comment #4)
> (In reply to comment #1)
> > Maarten, would you be interested in contributing a patch for this?
> Sure, i already fixed it more or less....
More actually, the hookGlobalActions and the KeyListener do the wiork TWICE, so it's either one or the other :-(
You'll have to edit this manually or assign to me.
Comment 6 maarten meijer CLA 2008-02-21 16:28:34 EST
Created attachment 90412 [details]
Added hookGlobalActions for Delete and Refresh
Comment 7 maarten meijer CLA 2008-02-21 16:28:38 EST
Created attachment 90413 [details]
mylyn/context/zip
Comment 8 Steffen Pingel CLA 2008-02-21 18:00:31 EST
Created attachment 90423 [details]
modified patch
Comment 9 Steffen Pingel CLA 2008-02-21 18:01:35 EST
Thanks Maarten. I have merged the patch with a minor modification to make the key bindings show up in the view context menu.