Search in sources :

Example 1 with DelegatingGridWidgetCellSelectorMouseEventHandler

use of org.kie.workbench.common.dmn.client.widgets.grid.handlers.DelegatingGridWidgetCellSelectorMouseEventHandler 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)

Example 2 with DelegatingGridWidgetCellSelectorMouseEventHandler

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

the class LiteralExpressionPMMLGrid method getNodeMouseClickEventHandlers.

@Override
public List<NodeMouseEventHandler> getNodeMouseClickEventHandlers(final GridSelectionManager selectionManager) {
    final List<NodeMouseEventHandler> handlers = new ArrayList<>();
    handlers.add(new DelegatingGridWidgetCellSelectorMouseEventHandler(selectionManager, this::getParentInformation, () -> nesting));
    return handlers;
}
Also used : 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)

Example 3 with DelegatingGridWidgetCellSelectorMouseEventHandler

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

the class LiteralExpressionGrid 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 EditableHeaderGridWidgetEditCellMouseEventHandler());
    return handlers;
}
Also used : DelegatingGridWidgetCellSelectorMouseEventHandler(org.kie.workbench.common.dmn.client.widgets.grid.handlers.DelegatingGridWidgetCellSelectorMouseEventHandler) 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)

Aggregations

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