diff --git a/eclipse-extensions/org.springframework.ide.eclipse.boot.dash/src/org/springframework/ide/eclipse/boot/dash/model/remote/GenericRemoteAppElement.java b/eclipse-extensions/org.springframework.ide.eclipse.boot.dash/src/org/springframework/ide/eclipse/boot/dash/model/remote/GenericRemoteAppElement.java index d13c6e416..8349448fd 100644 --- a/eclipse-extensions/org.springframework.ide.eclipse.boot.dash/src/org/springframework/ide/eclipse/boot/dash/model/remote/GenericRemoteAppElement.java +++ b/eclipse-extensions/org.springframework.ide.eclipse.boot.dash/src/org/springframework/ide/eclipse/boot/dash/model/remote/GenericRemoteAppElement.java @@ -895,7 +895,20 @@ public class GenericRemoteAppElement extends WrappingBootDashElement imp @Override public boolean matchesLiveProcessCommand(ExecuteCommandAction action) { App data = getAppData(); - return data.getName() != null&& data.getName().equals(action.getProcessId()); + boolean selfMatch = data.getName() != null&& data.getName().equals(action.getProcessId()); + return selfMatch || childMatch(action); + } + + private boolean childMatch(ExecuteCommandAction action) { + for (BootDashElement child : this.getChildren().getValues()) { + if ( + child instanceof LiveDataCapableElement && + ((LiveDataCapableElement) child).matchesLiveProcessCommand(action) + ) { + return true; + } + } + return false; } }