Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] The process select dialog on "Attach" should react to double-click

Hello to all,

I would like to push my changes regarding the bug reported by Martin Oberhuber.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=410821

As Martin said, the double click on process from the first pane is a default feature which is removed by listener from the line 104.

list.addListener(SWT.EraseItem, new Listener() {   //Line 104

I propose to comment/remove this listener and to set the second list from the lower panel as disabled. After this changes, the double click on process will work as expected and the user will be unable to select items from the lower panel.

In case more than one items are displayed in the lower panel, the first item will have the black font color and the rest will be grey color. As I see, it is a default behavior for a disabled org.eclipse.swt.widgets.Table.

In case you have objections to this change please let me know.

Thank you

Kind Regards
Lidia Gutu



Attachment: Screenshot from 2013-06-25 16:25:49 (copy).png
Description: PNG image


Back to the top