Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: mindbright/ssh/SSHMenuHandler.java


1   /******************************************************************************
2    *
3    * Copyright (c) 1998,99 by Mindbright Technology AB, Stockholm, Sweden.
4    *                 www.mindbright.se, info@mindbright.se
5    *
6    * This program is free software; you can redistribute it and/or modify
7    * it under the terms of the GNU General Public License as published by
8    * the Free Software Foundation; either version 2 of the License, or
9    * (at your option) any later version.
10   *
11   * This program is distributed in the hope that it will be useful,
12   * but WITHOUT ANY WARRANTY; without even the implied warranty of
13   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14   * GNU General Public License for more details.
15   *
16   *****************************************************************************
17   * $Author: nallen $
18   * $Date: 2001/11/12 16:31:19 $
19   * $Name:  $
20   *****************************************************************************/
21  package mindbright.ssh;
22  
23  import java.awt.Frame;
24  import java.awt.MenuBar;
25  import java.awt.PopupMenu;
26  
27  import mindbright.application.MindTerm;
28  import mindbright.terminal.TerminalMenuListener;
29  import mindbright.terminal.TerminalWin;
30  
31  public class SSHMenuHandler implements TerminalMenuListener {
32      boolean havePopupMenu = false;
33  
34      public void init(MindTerm mindterm, SSHInteractiveClient client, Frame parent, TerminalWin term) {
35      }
36      public void update() {
37      }
38      public void setPopupButton(int popButtonNum) {
39      }
40      public void prepareMenuBar(MenuBar mb) {
41      }
42      public void preparePopupMenu(PopupMenu popupmenu) {
43      }
44      public int getPopupButton() {
45    return 0;
46      }
47      public boolean confirmDialog(String message, boolean defAnswer) {
48    return false;
49      }
50      public void alertDialog(String message) {
51      }
52      public void textDialog(String head, String text, int rows, int cols, boolean scrollbar) {
53      }
54  }