| 1 | /******************************************************************************* |
| 2 | * Copyright (c) 2011, 2012 Kalray. |
| 3 | * |
| 4 | * All rights reserved. This program and the accompanying materials are |
| 5 | * made available under the terms of the Eclipse Public License v1.0 which |
| 6 | * accompanies this distribution, and is available at |
| 7 | * http://www.eclipse.org/legal/epl-v10.html |
| 8 | * |
| 9 | * Contributors: |
| 10 | * Xavier Raynaud - Initial API and implementation |
| 11 | ******************************************************************************/ |
| 12 | package org.eclipse.linuxtools.tmf.ui.widgets.virtualtable; |
| 13 | |
| 14 | import org.eclipse.swt.widgets.TableItem; |
| 15 | /** |
| 16 | * Double click listener interface |
| 17 | * @author Xavier Raynaud |
| 18 | * @version 1.0 |
| 19 | */ |
| 20 | public interface IDoubleClickListener { |
| 21 | |
| 22 | /** |
| 23 | * Handle a double click event |
| 24 | * @param table the table that was double clicked |
| 25 | * @param item the item that was double clicked in the table |
| 26 | * @param column the column that was double clicked in the item in the table. |
| 27 | */ |
| 28 | public void handleDoubleClick(TmfVirtualTable table, TableItem item, int column); |
| 29 | |
| 30 | } |