ca.sqlpower.wabit.swingui
Class OpenProgressWindow

java.lang.Object
  extended by ca.sqlpower.wabit.swingui.OpenProgressWindow

public class OpenProgressWindow
extends java.lang.Object

This class displays a modal dialog that shows the progress of a workspace loading. After calling the one static method in this class the progress window will appear and make the Wabit window unresponsive. When the worker completes the dialog will be disposed of and the Wabit window will become responsive again.


Constructor Summary
OpenProgressWindow()
           
 
Method Summary
static void showProgressWindow(javax.swing.JFrame parent, ca.sqlpower.swingui.SPSwingWorker worker)
          This method displays a modal dialog that shows the progress of a workspace loading.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenProgressWindow

public OpenProgressWindow()
Method Detail

showProgressWindow

public static void showProgressWindow(javax.swing.JFrame parent,
                                      ca.sqlpower.swingui.SPSwingWorker worker)
This method displays a modal dialog that shows the progress of a workspace loading. The progress window will appear immediately and make the Wabit window unresponsive. When the worker completes the dialog will be disposed of and the Wabit window will become responsive again.

Parameters:
parent - The frame to parent the dialog to. This frame will be unresponsive while the progress dialog is displayed.
worker - The worker this progress window will monitor. When the worker finishes this dialog will go away.


Copyright © 2009. All Rights Reserved.