Search in sources :

Example 6 with NodeMouseEventHandler

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

the class BaseExpressionGrid method getNodeMouseDoubleClickEventHandlers.

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

Example 7 with NodeMouseEventHandler

use of org.uberfire.ext.wires.core.grids.client.widget.grid.NodeMouseEventHandler 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)7 NodeMouseEventHandler (org.uberfire.ext.wires.core.grids.client.widget.grid.NodeMouseEventHandler)7 DelegatingGridWidgetCellSelectorMouseEventHandler (org.kie.workbench.common.dmn.client.widgets.grid.handlers.DelegatingGridWidgetCellSelectorMouseEventHandler)3 EditableHeaderGridWidgetEditCellMouseEventHandler (org.kie.workbench.common.dmn.client.widgets.grid.handlers.EditableHeaderGridWidgetEditCellMouseEventHandler)3 DefaultGridWidgetCellSelectorMouseEventHandler (org.uberfire.ext.wires.core.grids.client.widget.grid.impl.DefaultGridWidgetCellSelectorMouseEventHandler)2 ScenarioSimulationGridWidgetMouseEventHandler (org.drools.workbench.screens.scenariosimulation.client.handlers.ScenarioSimulationGridWidgetMouseEventHandler)1 DelegatingGridWidgetEditCellMouseEventHandler (org.kie.workbench.common.dmn.client.widgets.grid.handlers.DelegatingGridWidgetEditCellMouseEventHandler)1