org.dllearner.tools.protege
Class ReadingOntologyThread

java.lang.Object
  extended by java.lang.Thread
      extended by org.dllearner.tools.protege.ReadingOntologyThread
All Implemented Interfaces:
Runnable

public class ReadingOntologyThread
extends Thread

This class reads the ontologie in a separate thread.

Author:
Christian Koetteritzsch

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ReadingOntologyThread(org.protege.editor.owl.OWLEditorKit editorKit, DLLearnerView v, DLLearnerModel m)
          This is the constructor of the ReadingOntologyThread.
 
Method Summary
 NamedClass getCurrentConcept()
           
 boolean hasIndividuals()
          This Method checks if the selected class has any individuals.
 void run()
           
 void setDLLearnerModel(DLLearnerModel m)
           
 void setDLLearnerView(DLLearnerView v)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReadingOntologyThread

public ReadingOntologyThread(org.protege.editor.owl.OWLEditorKit editorKit,
                             DLLearnerView v,
                             DLLearnerModel m)
This is the constructor of the ReadingOntologyThread.

Parameters:
editorKit - OWLEditorKit
frame - OWLFrame
v - DL-Learner view
m - DL-Learner model
Method Detail

setDLLearnerView

public void setDLLearnerView(DLLearnerView v)

setDLLearnerModel

public void setDLLearnerModel(DLLearnerModel m)

hasIndividuals

public boolean hasIndividuals()
This Method checks if the selected class has any individuals.

Returns:
boolean hasIndividuals

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread

getCurrentConcept

public NamedClass getCurrentConcept()


SourceForge.net Logo DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2008 Jens Lehmann