DESCRIPTION

tmf: Add support for event table range selection

TmfVirtualTable:
- Support the SWT.MULTI style
- Support Shift-click and Shift-key for event range selection
- Update API to support selection range
- Prevent Ctrl key modifier and Select All to modify selection

TmfEventsTable:
- Create table with SWT.MULTI style
- Support selection time range
- Update status line manager with time range delta

TmfEventsEditor:
- Provide status line manager to events table

Change-Id: I16aa44f444bd1288c93b964b40e77cb04158b46d
Signed-off-by: Luciana Barry xxx@xxx.xxx


COMMENTS

author: Brenden Conley
date: 2013-07-15 20:47:57.000000000

Patch Set 2:

Build Started https://hudson.eclipse.org/sandbox/job/linuxtools/2915/

-------------------------------------
author: Brenden Conley
date: 2013-07-15 21:04:07.000000000

Patch Set 2: Verified+1

Build Successful 

https://hudson.eclipse.org/sandbox/job/linuxtools/2915/ : SUCCESS

-------------------------------------
author: Ivy Mitchell
date: 2013-07-17 17:45:07.000000000

Patch Set 2: Verified-1

click's broken yo!

-------------------------------------
author: Ivy Mitchell
date: 2013-07-17 19:27:19.000000000

Patch Set 2: Code-Review-1

(3 comments)

See comments please.

Line:92, lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/virtualtable/TmfVirtualTable.java -> private MouseEvent fLastMouseEvent;          // last mouse event

Line:296, lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/virtualtable/TmfVirtualTable.java -> Add me
        fTable.addMouseListener(new MouseListener() {
           xxx@xxx.xxx
            public void mouseUp(MouseEvent e) {
                // TODO Auto-generated method stub

            }

           xxx@xxx.xxx
            public void mouseDown(MouseEvent e) {
                fLastMouseEvent = e;
            }

           xxx@xxx.xxx
            public void mouseDoubleClick(MouseEvent e) {
                // TODO Auto-generated method stub

            }
        });

Line:350, lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/virtualtable/TmfVirtualTable.java -> please change for this:  = fTable.indexOf((TableItem)event.item);
        if( fLastMouseEvent != null  && fLastMouseEvent.button != 0){
            System.out.println(event);
            System.out.println(selectedRow);
            event.stateMask |= SWT.BUTTON1 << (fLastMouseEvent.button - 1);
            fLastMouseEvent = null;
        }

-------------------------------------
author: Gerrit Code Review
date: 2013-07-29 20:50:49.000000000

The change could not be merged due to a path conflict.

Please rebase the change locally and upload the rebased commit for review.

-------------------------------------
