use of org.uberfire.ext.wires.core.grids.client.widget.layer.pinning.impl.RestrictedMousePanMediator in project kie-wb-common by kiegroup.
the class DMNGridPanelControlImpl method bind.
@Override
public void bind(final DMNSession session) {
final DMNGridLayer gridLayer = session.getGridLayer();
final CellEditorControlsView.Presenter cellEditorControls = session.getCellEditorControls();
final RestrictedMousePanMediator mousePanMediator = session.getMousePanMediator();
final DMNGridPanelCellSelectionHandler selectionHandler = new DMNGridPanelCellSelectionHandlerImpl(gridLayer);
final ContextMenuHandler contextMenuHandler = new DMNGridPanelContextMenuHandler(gridLayer, cellEditorControls, selectionHandler);
this.panel = new DMNGridPanel(gridLayer, mousePanMediator, contextMenuHandler);
}
use of org.uberfire.ext.wires.core.grids.client.widget.layer.pinning.impl.RestrictedMousePanMediator in project kie-wb-common by kiegroup.
the class MousePanMediatorControlImpl method bind.
@Override
public void bind(final DMNSession session) {
final DMNGridLayer gridLayer = session.getGridLayer();
this.mousePanMediator = new RestrictedMousePanMediator(gridLayer);
}
Aggregations