void (PressureEvent e) { if (e.getStage() != 2) return; InputEvent inputEvent = new ForceTouchEvent(component, e); ((TransactionGuardImpl)TransactionGuard.getInstance()).performUserActivity(()-> { if (listener != null) listener.eventDispatched(inputEvent); IdeEventQueue.getInstance().getMouseEventDispatcher().processEvent( inputEvent, 0, ActionPlaces.FORCE_TOUCH, new PressureShortcut(e.getStage()), component, false); }); }