Create new callback types for uninterruptible callbacks.
[scilab.git] / scilab / modules / gui / src / java / org / scilab / modules / gui / events / callback / CommonCallBack.java
index f7e16d1..fb4798f 100644 (file)
@@ -73,6 +73,10 @@ public abstract class CommonCallBack extends AbstractAction {
             case CallBack.SCILAB_OUT_OF_XCLICK_AND_XGETMOUSE :
                 callback = ScilabCallBack.createOutOfXclickAndXgetmouse(command);
                 break;
+            case CallBack.SCILAB_NOT_INTERRUPTIBLE_FUNCTION:
+            case CallBack.SCILAB_NOT_INTERRUPTIBLE_INSTRUCTION:
+                callback = ScilabCallBack.create(command, false);
+                break;
             default:
                 callback = ScilabCallBack.create(command);
                 break;