add the Java Client from M0AZM
[spider.git] / SpiderConsole / src / Plugin.java
1 /**
2  * Plugin - abstract plugin class.
3  * We need this so that when we compile Console, it knows what methods to
4  * expect in plugin modules.  If we don't use this it will complain.
5  * Any methods added to plugins need to be added to ALL plugins and here.
6  * @author Ian Norton
7  * @version 1.0 - 20010418.
8  *
9  * Copyright (C) 2001 Ian Norton.
10  *
11  * This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public Licence as published by
13  * the Free Software Foundation; either version 2 of the Licence, or
14  * (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public Licence for more details.
20  *
21  * You should have received a copy of the GNU General Public Licence
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24  *
25  * Contacting the author :
26  * Ian Norton
27  * i.norton@lancaster.ac.uk
28  * http://www.lancs.ac.uk/~norton/                                              
29  **/
30
31 import javax.swing.*;
32 import java.io.PipedInputStream ;
33 import java.io.PipedOutputStream ;
34
35 public abstract class Plugin extends JPanel{
36     public abstract void init(PipedInputStream i, PipedOutputStream o) ;
37     public abstract String getTabName() ;
38     public abstract String getTabTip() ;
39     }