Search in sources :

Example 1 with MouseButton

use of org.eclipse.scout.rt.client.ui.MouseButton in project scout.rt by eclipse.

the class JsonTable method handleUiRowClick.

protected void handleUiRowClick(JsonEvent event) {
    ITableRow tableRow = extractTableRow(event.getData());
    if (tableRow == null) {
        LOG.info("Requested table-row doesn't exist anymore -> skip rowClicked event");
        return;
    }
    ArrayList<ITableRow> rows = new ArrayList<ITableRow>();
    rows.add(tableRow);
    MouseButton mouseButton = extractMouseButton(event.getData());
    getModel().getUIFacade().fireRowClickFromUI(tableRow, mouseButton);
}
Also used : ArrayList(java.util.ArrayList) ITableRow(org.eclipse.scout.rt.client.ui.basic.table.ITableRow) MouseButton(org.eclipse.scout.rt.client.ui.MouseButton)

Aggregations

ArrayList (java.util.ArrayList)1 MouseButton (org.eclipse.scout.rt.client.ui.MouseButton)1 ITableRow (org.eclipse.scout.rt.client.ui.basic.table.ITableRow)1