1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package olr.toolbar;
18
19 import olr.rdf.Model;
20 import olr.viewer.ModelViewer;
21
22 /***
23 * @version $Id: ToolbarSession.java,v 1.14 2004/08/02 18:38:53 roku Exp $
24 */
25 public interface ToolbarSession {
26 public abstract int size();
27
28 public abstract ModelViewer getModelViewerAt(int n);
29
30 public abstract boolean addSchema(String URI, String title) throws Exception;
31
32 public abstract boolean addSchema(Model model, String title);
33
34 public abstract boolean addSchema(Model model, String title, boolean nonRemovable);
35
36 public abstract boolean addInstanceFile(String URI, String title) throws Exception;
37
38 public abstract boolean addInstanceFile(Model model, String title) throws Exception;
39
40 public abstract String removeModelAt(int n) throws Exception;
41
42 public abstract boolean isViewerRemovable(int n);
43
44 public abstract boolean containsProperty(String property);
45
46 public abstract Object getResource4ID(Object res);
47 }