Search in sources :

Example 1 with DefaultGridWidgetCellSelectorMouseEventHandler

use of org.uberfire.ext.wires.core.grids.client.widget.grid.impl.DefaultGridWidgetCellSelectorMouseEventHandler in project kie-wb-common by kiegroup.

the class BaseExpressionGrid method getNodeMouseClickEventHandlers.

@Override
public List<NodeMouseEventHandler> getNodeMouseClickEventHandlers(final GridSelectionManager selectionManager) {
    final List<NodeMouseEventHandler> handlers = new ArrayList<>();
    handlers.add(new DefaultGridWidgetCellSelectorMouseEventHandler(selectionManager));
    handlers.add(new EditableHeaderGridWidgetEditCellMouseEventHandler());
    return handlers;
}
Also used : EditableHeaderGridWidgetEditCellMouseEventHandler(org.kie.workbench.common.dmn.client.widgets.grid.handlers.EditableHeaderGridWidgetEditCellMouseEventHandler) ArrayList(java.util.ArrayList) DefaultGridWidgetCellSelectorMouseEventHandler(org.uberfire.ext.wires.core.grids.client.widget.grid.impl.DefaultGridWidgetCellSelectorMouseEventHandler) NodeMouseEventHandler(org.uberfire.ext.wires.core.grids.client.widget.grid.NodeMouseEventHandler)

Example 2 with DefaultGridWidgetCellSelectorMouseEventHandler

use of org.uberfire.ext.wires.core.grids.client.widget.grid.impl.DefaultGridWidgetCellSelectorMouseEventHandler in project drools-wb by kiegroup.

the class ScenarioGrid method getNodeMouseClickEventHandlers.

@Override
protected List<NodeMouseEventHandler> getNodeMouseClickEventHandlers(final GridSelectionManager selectionManager) {
    final List<NodeMouseEventHandler> handlers = new ArrayList<>();
    handlers.add(new DefaultGridWidgetCellSelectorMouseEventHandler(selectionManager));
    return handlers;
}
Also used : ArrayList(java.util.ArrayList) DefaultGridWidgetCellSelectorMouseEventHandler(org.uberfire.ext.wires.core.grids.client.widget.grid.impl.DefaultGridWidgetCellSelectorMouseEventHandler) NodeMouseEventHandler(org.uberfire.ext.wires.core.grids.client.widget.grid.NodeMouseEventHandler)

Aggregations

ArrayList (java.util.ArrayList)2 NodeMouseEventHandler (org.uberfire.ext.wires.core.grids.client.widget.grid.NodeMouseEventHandler)2 DefaultGridWidgetCellSelectorMouseEventHandler (org.uberfire.ext.wires.core.grids.client.widget.grid.impl.DefaultGridWidgetCellSelectorMouseEventHandler)2 EditableHeaderGridWidgetEditCellMouseEventHandler (org.kie.workbench.common.dmn.client.widgets.grid.handlers.EditableHeaderGridWidgetEditCellMouseEventHandler)1