]> gerrit.simantics Code Review - simantics/3d.git/commitdiff
Eat all keyboard events by default in vtkSwtAction 74/3974/1
authorReino Ruusu <reino.ruusu@semantum.fi>
Fri, 6 Mar 2020 16:41:29 +0000 (18:41 +0200)
committerReino Ruusu <reino.ruusu@semantum.fi>
Fri, 6 Mar 2020 16:41:29 +0000 (18:41 +0200)
gitlab #103

Change-Id: I709b93ffcf83f37e3253a224874ab10b710f913f

org.simantics.g3d.vtk/src/org/simantics/g3d/vtk/swt/vtkSwtAction.java

index 9d4332c1ac6276cef355a21d3535a1c628476e7d..058018d6f600ddbc8950ba6a0630577bbbf5dcf4 100644 (file)
@@ -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;
        }