|
Protégé-OWL 3.4.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.smi.protegex.owl.model.util.ImportHelper
public class ImportHelper
User: matthewhorridge
The University Of Manchester
Medical Informatics Group
Date: Jan 18, 2006
Constructor Summary | |
---|---|
ImportHelper(OWLModel owlModel)
Creates an import helper that will import ontologies into the specified OWLModel . |
Method Summary | |
---|---|
void |
addImport(InputStream is)
Adds the ontology in an input stream to the set of ontologies that will be imported. |
void |
addImport(URI ontologyURI)
Adds an ontology to the set of ontologies that will be imported. |
void |
importOntologies()
Imports the ontologies that this helper was asked to import. |
void |
importOntologies(boolean reloadGUI)
Alternative method that allows the caller to block the GUI reload (for example when initialising TabPlugins) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImportHelper(OWLModel owlModel)
OWLModel
. The pattern of usage is:
OWLModel
to be used
in the constructoraddImport
method.importOntologies
method, which will
do the actual importing (and reloading of the UI if necessary).
Method Detail |
---|
public void addImport(URI ontologyURI)
importOntologies()
method.
ontologyURI
- The URI of the ontology to importpublic void addImport(InputStream is)
importOntologes()
method.
public void importOntologies() throws edu.stanford.smi.protege.exception.OntologyLoadException
reloadGUI(boolean)
in TabWidget
initialisation code to prevent the GUI being reloaded
edu.stanford.smi.protege.exception.OntologyLoadException
public void importOntologies(boolean reloadGUI) throws edu.stanford.smi.protege.exception.OntologyLoadException
reloadGUI
- - false if no GUI reload is desired
edu.stanford.smi.protege.exception.OntologyLoadException
|
Protégé-OWL 3.4.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |