| Summary: | [TMF] Enhancement of class TmfVirtualTable | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Xavier Raynaud <xraynaud> | ||||||
| Component: | LinuxTools | Assignee: | Francois Chouinard <fchouinard> | ||||||
| Status: | CLOSED FIXED | QA Contact: | Francois Chouinard <fchouinard> | ||||||
| Severity: | enhancement | ||||||||
| Priority: | P3 | ||||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Xavier Raynaud
Created attachment 203136 [details]
proposed patch
Just one more thing: I think this widget is excellent, and I vote for moving this widget in jface :) (In reply to comment #2) > Just one more thing: > I think this widget is excellent, and I vote for moving this widget in jface :) Thanks :) Patrick will be happy to hear that when he comes back. Nice enhancement :-) I like the labelListener acting as a pass-through for item selection on mouse click. Nice touch.
It could be committed "as is" but I have two very minor stylish comments:
- IMO, the tooltip label key ("_TABLEITEM") should be a string constant. It doesn't have to be at the top of the file - a string constant in the constructor would be just fine.
- Maybe a break statement could be added when the column has been identified in the for-loops (for tooltip and double-click)
That's it.
Nice work.
Created attachment 203209 [details]
patch proposal
new patch proposal
Many thanks for your comments. I've modified the patch according to your suggestions (see attached), and commit it. (In reply to comment #6) > Many thanks for your comments. > I've modified the patch according to your suggestions (see attached), and > commit it. Patch looks great. Are you OK to commit it or do you want me to do it? BTW, something I missed in the first review: you might want to add the standard EPL copyright notice in IDoubleClickListener and TooltipProvider and give yourself some credit. You should also add your name to the list of contributors in TmfVirtualTable. Hi, My initial intention was to commit it. Unfortunately, I had some trouble with my account. I requested a password change, but it seems that it does not affect git... I guess I have to contact admins to solve this issue. Ack. Problem solved. It's pushed. I also add copyright notice and credits. Comment on attachment 203209 [details]
patch proposal
Contributor is now comitter. Less than 250 changed lines.
Delivered in 0.9.0 |