use of com.google.jstestdriver.idea.server.JstdServerLifeCycleAdapter in project intellij-plugins by JetBrains.
the class JstdToolWindowSession method attachToServer.
private void attachToServer(@NotNull JstdServer server) {
ApplicationManager.getApplication().assertIsDispatchThread();
myToolbar.updateActionsImmediately();
server.addLifeCycleListener(new JstdServerLifeCycleAdapter() {
@Override
public void onServerStopped() {
myToolbar.updateActionsImmediately();
}
}, myProject);
JstdServerConsoleTab consoleTab = getOrRegisterConsoleContent();
consoleTab.attachToServer(server);
myTabs.setSelectedTitle(consoleTab.getTabInfo().getText());
}
Aggregations