diff options
author | Gulevich Vasili | 2014-09-22 11:57:59 +0000 |
---|---|---|
committer | Gulevich Vasili | 2014-09-22 11:57:59 +0000 |
commit | d91f02ce53c9a8325a1afa9acb2a1072e2a61467 (patch) | |
tree | d9846f6b2bcbca788aae28ee2d56040ff80e2433 | |
parent | d36b89613aee197c12aa82d0bdadfd021997061c (diff) | |
download | org.eclipse.rcptt.git.back-refs/for/master.tar.gz org.eclipse.rcptt.git.back-refs/for/master.tar.xz org.eclipse.rcptt.git.back-refs/for/master.zip |
Bug 444572 - "get-editor | get-property" no longer activates editor.refs/for/master
-rw-r--r-- | runtime/tesla/org.eclipse.rcptt.tesla.swt/src/org/eclipse/rcptt/tesla/internal/ui/processors/SWTUIProcessor.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/runtime/tesla/org.eclipse.rcptt.tesla.swt/src/org/eclipse/rcptt/tesla/internal/ui/processors/SWTUIProcessor.java b/runtime/tesla/org.eclipse.rcptt.tesla.swt/src/org/eclipse/rcptt/tesla/internal/ui/processors/SWTUIProcessor.java index e9b1c94d..c30fa329 100644 --- a/runtime/tesla/org.eclipse.rcptt.tesla.swt/src/org/eclipse/rcptt/tesla/internal/ui/processors/SWTUIProcessor.java +++ b/runtime/tesla/org.eclipse.rcptt.tesla.swt/src/org/eclipse/rcptt/tesla/internal/ui/processors/SWTUIProcessor.java @@ -324,9 +324,11 @@ public class SWTUIProcessor implements ITeslaCommandProcessor, public PreExecuteStatus preExecute(final Command command, final PreExecuteStatus previousStatus, Q7WaitInfoRoot info) { if (command instanceof ElementCommand) { - final ElementCommand cmd = (ElementCommand) command; - if (!activateViewEditor(cmd.getElement(), false, info)) { - return new PreExecuteStatus(false); + if (!(command instanceof GetPropertyValue)) { + final ElementCommand cmd = (ElementCommand) command; + if (!activateViewEditor(cmd.getElement(), false, info)) { + return new PreExecuteStatus(false); + } } } PreExecuteStatus resultStatus = preExecuteAssert(command, |