Bug 444572 - "get-editor | get-property" no longer activates editor.
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 e9b1c94..c30fa32 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 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,