use of org.freeplane.core.ui.ActionAcceleratorManager in project freeplane by freeplane.
the class MapViewScrollPane method processKeyBinding.
@Override
protected boolean processKeyBinding(KeyStroke ks, KeyEvent e, int condition, boolean pressed) {
if (viewport != null) {
MapView mapView = (MapView) viewport.getView();
final ActionAcceleratorManager acceleratorManager = ResourceController.getResourceController().getAcceleratorManager();
if (acceleratorManager.canProcessKeyEvent(e))
return false;
}
return super.processKeyBinding(ks, e, condition, pressed);
}
Aggregations