KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sf > panoptes > view > MainWindow


1 /*
2  * Created on Aug 31, 2003
3  *
4  */

5 package net.sf.panoptes.view;
6
7 import net.sf.panoptes.model.node.Node;
8
9 /**
10  *
11  *
12  * @author Dag Liodden
13  * @version 0.1
14  */

15 public interface MainWindow {
16     public abstract void refreshTemplates();
17     /**
18      * Helper method for displaying errors. All errors should be shown with this method so the display method is similar
19      * for all parts of the application.
20      *
21      * @param title
22      * @param message
23      * @param cause
24      */

25     public abstract void showError(String JavaDoc title, String JavaDoc message, Throwable JavaDoc cause);
26     public abstract void refresh(Node node, boolean recursive);
27     /**
28      * @param title
29      * @param message
30      * @param exception
31      */

32     public abstract void displayError(String JavaDoc title, String JavaDoc message, Throwable JavaDoc exception);
33     /**
34      * @param n
35      */

36     public abstract void revealNode(Node n);
37 }
Popular Tags