olr.toolbar
Class AbstractToolbarSession

java.lang.Object
  extended byolr.toolbar.AbstractToolbarSession
All Implemented Interfaces:
ToolbarSession
Direct Known Subclasses:
DBToolbarSession

public abstract class AbstractToolbarSession
extends java.lang.Object
implements ToolbarSession

Version:
$Id: AbstractToolbarSession.java,v 1.6 2004/08/02 18:38:53 roku Exp $

Method Summary
 boolean addInstanceFile(Model model, java.lang.String title)
           
 boolean addInstanceFile(java.lang.String URI, java.lang.String title)
           
 boolean addSchema(Model model, java.lang.String title)
           
 boolean addSchema(Model model, java.lang.String title, boolean nonRemovable)
           
 boolean addSchema(java.lang.String URI, java.lang.String title)
           
 boolean containsProperty(java.lang.String property)
           
 ModelViewer getModelViewerAt(int n)
           
 java.lang.Object getResource4ID(java.lang.Object res)
           
 boolean isViewerRemovable(int n)
           
static ToolbarSession newInstance(RdfUser user, OlrStatementPool statementPool)
           
 java.lang.String removeModelAt(int n)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

size

public int size()
Specified by:
size in interface ToolbarSession

getModelViewerAt

public ModelViewer getModelViewerAt(int n)
Specified by:
getModelViewerAt in interface ToolbarSession

addSchema

public boolean addSchema(java.lang.String URI,
                         java.lang.String title)
                  throws java.lang.Exception
Specified by:
addSchema in interface ToolbarSession
Throws:
java.lang.Exception

addSchema

public boolean addSchema(Model model,
                         java.lang.String title)
Specified by:
addSchema in interface ToolbarSession

addSchema

public boolean addSchema(Model model,
                         java.lang.String title,
                         boolean nonRemovable)
Specified by:
addSchema in interface ToolbarSession

addInstanceFile

public boolean addInstanceFile(java.lang.String URI,
                               java.lang.String title)
                        throws java.lang.Exception
Specified by:
addInstanceFile in interface ToolbarSession
Throws:
java.lang.Exception

addInstanceFile

public boolean addInstanceFile(Model model,
                               java.lang.String title)
                        throws java.lang.Exception
Specified by:
addInstanceFile in interface ToolbarSession
Throws:
java.lang.Exception

removeModelAt

public java.lang.String removeModelAt(int n)
                               throws java.lang.Exception
Specified by:
removeModelAt in interface ToolbarSession
Throws:
java.lang.Exception

isViewerRemovable

public boolean isViewerRemovable(int n)
Specified by:
isViewerRemovable in interface ToolbarSession

containsProperty

public boolean containsProperty(java.lang.String property)
Specified by:
containsProperty in interface ToolbarSession

getResource4ID

public java.lang.Object getResource4ID(java.lang.Object res)
Specified by:
getResource4ID in interface ToolbarSession

newInstance

public static ToolbarSession newInstance(RdfUser user,
                                         OlrStatementPool statementPool)
                                  throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2001-2004 University of Hannover. All Rights Reserved.