|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
edu.wpi.prc.tools.builder.gui.ConnectionFormThread
public class ConnectionFormThread
Attempts to connect to the project database. During the connection process, a window is displayed notifying the user that the Project Builder is busy trying to connect to the project database.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
private javax.swing.JFrame |
connectingForm
|
private DatabaseInitializerForm |
parentForm
|
private Project |
project
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
ConnectionFormThread(DatabaseInitializerForm parentForm)
Constructor that takes a reference to the this thread's parent form. |
Method Summary | |
---|---|
void |
cleanup()
Destroys the "connecting" form. |
javax.swing.JFrame |
getForm()
|
Project |
getProject()
Reads the project that is stored in the database. |
void |
run()
Makes the "connecting" window appear, and attempts to connect to the project database. |
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private DatabaseInitializerForm parentForm
private javax.swing.JFrame connectingForm
private Project project
Constructor Detail |
---|
public ConnectionFormThread(DatabaseInitializerForm parentForm)
Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void cleanup()
public Project getProject() throws org.hibernate.HibernateException
org.hibernate.HibernateException
public javax.swing.JFrame getForm()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |