Search in sources :

Example 1 with DelegatingGridWidgetEditCellMouseEventHandler

use of org.kie.workbench.common.dmn.client.widgets.grid.handlers.DelegatingGridWidgetEditCellMouseEventHandler in project kie-wb-common by kiegroup.

the class UndefinedExpressionGrid method getNodeMouseClickEventHandlers.

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

Aggregations

ArrayList (java.util.ArrayList)1 DelegatingGridWidgetCellSelectorMouseEventHandler (org.kie.workbench.common.dmn.client.widgets.grid.handlers.DelegatingGridWidgetCellSelectorMouseEventHandler)1 DelegatingGridWidgetEditCellMouseEventHandler (org.kie.workbench.common.dmn.client.widgets.grid.handlers.DelegatingGridWidgetEditCellMouseEventHandler)1 NodeMouseEventHandler (org.uberfire.ext.wires.core.grids.client.widget.grid.NodeMouseEventHandler)1