@Test public void testShowSSHWindow() { normalWindow.showSSHWindow(); assertFalse(app.getMainWindow().getChildWindows().contains(normalWindow)); }
protected void showSSHWindow() { sshWindow = new SSHWindow(session, TERM_WIDTH, TERM_HEIGHT); getApplication().getMainWindow().addWindow(sshWindow); this.close(); }
AuthWindow extends Window implements Button.ClickListener { protected void showSSHWindow() { sshWindow = new SSHWindow(session, TERM_WIDTH, TERM_HEIGHT); getApplication().getMainWindow().addWindow(sshWindow); this.close(); } }
AuthWindow extends Window implements Button.ClickListener { protected void showSSHWindow() { sshWindow = new SSHWindow(session, TERM_WIDTH, TERM_HEIGHT); getApplication().getMainWindow().addWindow(sshWindow); this.close(); } AuthWindow(String host, int port); }
AuthWindow extends Window implements Button.ClickListener { protected void showSSHWindow() { sshWindow = new SSHWindow(session, TERM_WIDTH, TERM_HEIGHT); getApplication().getMainWindow().addWindow(sshWindow); this.close(); } AuthWindow(String host, int port); @Override void attach(); @Override void buttonClick(ClickEvent event); }
AuthWindow extends Window implements Button.ClickListener { protected void showSSHWindow() { sshWindow = new SSHWindow(session, TERM_WIDTH, TERM_HEIGHT); getApplication().getMainWindow().addWindow(sshWindow); this.close(); } AuthWindow(String host, int port); @Override void attach(); @Override void buttonClick(ClickEvent event);  }