Show Processes panel when Terminal is opened (#3432)
parent
b676d3ae73
commit
9fe43a1dcf
|
|
@ -404,6 +404,8 @@ public class ProcessesPanelPresenter extends BasePresenter implements ProcessesP
|
|||
view.addWidget(terminalId, terminalName, terminalNode.getTitleIcon(), terminalWidget, false);
|
||||
refreshStopButtonState(terminalId);
|
||||
|
||||
workspaceAgent.setActivePart(this);
|
||||
|
||||
newTerminal.setVisible(true);
|
||||
newTerminal.connect();
|
||||
newTerminal.setListener(new TerminalPresenter.TerminalStateListener() {
|
||||
|
|
|
|||
|
|
@ -407,6 +407,7 @@ public class ProcessesPanelPresenterTest {
|
|||
presenter.onAddTerminal(MACHINE_ID, presenter);
|
||||
|
||||
verify(terminalFactory).create(eq(machine), eq(presenter));
|
||||
verify(workspaceAgent).setActivePart(presenter);
|
||||
verify(terminal).getView();
|
||||
verify(view, times(2)).setProcessesData(anyObject());
|
||||
verify(view).selectNode(anyObject());
|
||||
|
|
|
|||
Loading…
Reference in New Issue