Community
Participate
Working Groups
3.3 N0516 In the Content page of the Target editor, the plugin list does not support "Cntrl-A" to select all. If this was supported and via popup menu, then you could get rid of the "Remove All" button and menu. I suggest this because for one it gets rid of one button, but more importantly it makes it two steps to remove all which is a good safety in case user picks wrong button. Especially nice since removal does not support undo. I think it would also be more consistent with other areas in Eclipse although not sure.
Adding the ctrl+A selection seems like a fine idea. I personally like all the short cut keys so I can understand the value here. We will have to see about removing the button. I want to make sure we are as consistent as possible with our editors and other Eclipse editors.
I will look on this issue.
It's yours :)
Created attachment 77020 [details] ctrl+A for content page sorry for such delay but I've been on vacations. if "select all" support is planned for other editor parts I can think more genetic solution.
I'll look at this... thanks Bartosz :D
Hi Bartosz, thanks for the patch. I hope you enjoyed you vacation. They always seem to be over too quickly. I like the patch but, there is a more simple way to solve this problem (without creating an inner class). Check out org.eclipse.pde.internal.ui.editor.feature.IncludedFeaturesSection. Check out how it listens to the select all key stroke. Also note, you can simplify the handleSelectAll() function for the ContentSection to really just one line :) If you have questions, please don't hesitate to ask. Thanks again for your help fixing this bug, we do appreciate it!
updating milestone
I attached a context to help you out. Look at IncludedFeaturesSection.doGlobalAction(...)
Created attachment 77038 [details] mylyn/context/zip
Created attachment 77047 [details] doGlobalAction updated Chris thanks for mylyn context :) I've corrected as U suggested. It looks simple now :)
looks good now :) Thank you!
Created attachment 77049 [details] mylyn/context/zip