diff options
author | sbegaudeau | 2015-08-19 08:36:05 +0000 |
---|---|---|
committer | sbegaudeau | 2015-08-19 08:36:39 +0000 |
commit | 49982345d0e049e514703dda4a1feb698c9c9f20 (patch) | |
tree | 1fdafb5c046f0358a30b3f4057345ead7fcc8fe6 | |
parent | c4a6ca355d89af6306c2cd2d4d8dffa4cf3f505b (diff) | |
download | org.eclipse.acceleo-49982345d0e049e514703dda4a1feb698c9c9f20.tar.gz org.eclipse.acceleo-49982345d0e049e514703dda4a1feb698c9c9f20.tar.xz org.eclipse.acceleo-49982345d0e049e514703dda4a1feb698c9c9f20.zip |
Reduce the wait time before running an expression in the interpreter
1) The wait time has been reduced from 500ms to 100ms
2) A typo in a constant has been fixed
Change-Id: I2f353160370ca68957088fcb06e2c6b6c228c7e2
Signed-off-by: sbegaudeau <stephane.begaudeau@obeo.fr>
-rw-r--r-- | plugins/org.eclipse.acceleo.ui.interpreter/src/org/eclipse/acceleo/ui/interpreter/view/InterpreterView.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.acceleo.ui.interpreter/src/org/eclipse/acceleo/ui/interpreter/view/InterpreterView.java b/plugins/org.eclipse.acceleo.ui.interpreter/src/org/eclipse/acceleo/ui/interpreter/view/InterpreterView.java index 5f151cab4..55aa4e13c 100644 --- a/plugins/org.eclipse.acceleo.ui.interpreter/src/org/eclipse/acceleo/ui/interpreter/view/InterpreterView.java +++ b/plugins/org.eclipse.acceleo.ui.interpreter/src/org/eclipse/acceleo/ui/interpreter/view/InterpreterView.java @@ -177,7 +177,7 @@ public class InterpreterView extends ViewPart { * This will be used as the key for the "information" message that the interpreter will display for * compilation "OK" status. There will only be one. */ - private static final String COMPILATION_INFO_MESSAGE_KEY = "interpreter.evaluation.info.message"; //$NON-NLS-1$ + private static final String COMPILATION_INFO_MESSAGE_KEY = "interpreter.compilation.info.message"; //$NON-NLS-1$ /** * This will be used as the key for the "information" message that the interpreter will display for @@ -2728,8 +2728,8 @@ public class InterpreterView extends ViewPart { * @author <a href="mailto:laurent.goubet@obeo.fr">Laurent Goubet</a> */ private class RealTimeThread extends Thread { - /** Time to wait before launching the evaluation (0.5 second by default). */ - private static final int DELAY = 500; + /** Time to wait before launching the evaluation (0.1 second by default). */ + private static final int DELAY = 100; /** This will be set to <code>true</code> whenever we need to recompile the expression. */ private boolean dirty; |