* Loads the specified project. This method is only called from the constructor of this class.
*/
private void loadProject() throws IOException, BinaryOWLParseException {
try {
if (!documentStore.exists()) {
throw new ProjectDocumentNotFoundException(documentStore.getProjectId());
}
ontology = documentStore.loadRootOntologyIntoManager(delegateManager);
delegateManager.addOntologyChangeListener(new OWLOntologyChangeListener() {
public void ontologiesChanged(List<? extends OWLOntologyChange> changes) throws OWLException {
handleOntologiesChanged(changes);