From: Reino Ruusu Date: Fri, 6 Mar 2020 16:41:29 +0000 (+0200) Subject: Eat all keyboard events by default in vtkSwtAction X-Git-Tag: v1.43.0~45 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F74%2F3974%2F1;p=simantics%2F3d.git Eat all keyboard events by default in vtkSwtAction gitlab #103 Change-Id: I709b93ffcf83f37e3253a224874ab10b710f913f --- diff --git a/org.simantics.g3d.vtk/src/org/simantics/g3d/vtk/swt/vtkSwtAction.java b/org.simantics.g3d.vtk/src/org/simantics/g3d/vtk/swt/vtkSwtAction.java index 9d4332c1..058018d6 100644 --- a/org.simantics.g3d.vtk/src/org/simantics/g3d/vtk/swt/vtkSwtAction.java +++ b/org.simantics.g3d.vtk/src/org/simantics/g3d/vtk/swt/vtkSwtAction.java @@ -36,67 +36,56 @@ public class vtkSwtAction extends vtkAction implements vtkEventInterceptor{ @Override public boolean keyPressed(java.awt.event.KeyEvent e) { - // TODO Auto-generated method stub - return false; + return true; } @Override public boolean keyReleased(java.awt.event.KeyEvent e) { - // TODO Auto-generated method stub - return false; + return true; } @Override public boolean keyTyped(java.awt.event.KeyEvent e) { - // TODO Auto-generated method stub - return false; + return true; } @Override public boolean mouseDragged(java.awt.event.MouseEvent e) { - // TODO Auto-generated method stub return false; } @Override public boolean mouseMoved(java.awt.event.MouseEvent e) { - // TODO Auto-generated method stub return false; } @Override public boolean mouseClicked(java.awt.event.MouseEvent e) { - // TODO Auto-generated method stub return false; } @Override public boolean mouseEntered(java.awt.event.MouseEvent e) { - // TODO Auto-generated method stub return false; } @Override public boolean mouseExited(java.awt.event.MouseEvent e) { - // TODO Auto-generated method stub return false; } @Override public boolean mousePressed(java.awt.event.MouseEvent e) { - // TODO Auto-generated method stub return false; } @Override public boolean mouseReleased(java.awt.event.MouseEvent e) { - // TODO Auto-generated method stub return false; } @Override public boolean mouseWheelMoved(MouseWheelEvent e) { - // TODO Auto-generated method stub return false; }