edu.stanford.smi.protegex.owl.ui.dialogs
Class AbstractModalDialogFactory

java.lang.Object
  extended byedu.stanford.smi.protegex.owl.ui.dialogs.AbstractModalDialogFactory
All Implemented Interfaces:
ModalDialogFactory
Direct Known Subclasses:
DefaultModalDialogFactory

public abstract class AbstractModalDialogFactory
extends Object
implements ModalDialogFactory

Author:
Holger Knublauch

Nested Class Summary
 
Nested classes inherited from class edu.stanford.smi.protegex.owl.ui.dialogs.ModalDialogFactory
ModalDialogFactory.CloseCallback
 
Field Summary
private static String ERROR
           
private static String INFORMATION
           
 
Fields inherited from interface edu.stanford.smi.protegex.owl.ui.dialogs.ModalDialogFactory
MODE_CLOSE, MODE_OK_CANCEL, MODE_YES_NO, MODE_YES_NO_CANCEL, OPTION_CANCEL, OPTION_CLOSE, OPTION_NO, OPTION_OK, OPTION_YES, RESULT_ERROR
 
Constructor Summary
AbstractModalDialogFactory()
           
 
Method Summary
 int showDialog(Component parent, Component panel, String title, int mode)
           
 int showDialog(Component parent, Component panel, String title, int mode, ModalDialogFactory.CloseCallback callback)
           
 void showErrorMessageDialog(Component parent, String message)
           
 void showErrorMessageDialog(OWLModel owlModel, String message)
           
 void showMessageDialog(Component parent, String message)
           
 void showMessageDialog(OWLModel owlModel, String message)
           
 void showThrowable(OWLModel owlModel, Throwable t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.stanford.smi.protegex.owl.ui.dialogs.ModalDialogFactory
attemptDialogClose, showConfirmCancelDialog, showConfirmCancelDialog, showConfirmDialog, showConfirmDialog, showDialog, showErrorMessageDialog, showErrorMessageDialog, showInputDialog, showInputDialog, showMessageDialog, showMessageDialog
 

Field Detail

ERROR

private static final String ERROR
See Also:
Constant Field Values

INFORMATION

private static final String INFORMATION
See Also:
Constant Field Values
Constructor Detail

AbstractModalDialogFactory

public AbstractModalDialogFactory()
Method Detail

showDialog

public int showDialog(Component parent,
                      Component panel,
                      String title,
                      int mode)
Specified by:
showDialog in interface ModalDialogFactory

showDialog

public int showDialog(Component parent,
                      Component panel,
                      String title,
                      int mode,
                      ModalDialogFactory.CloseCallback callback)
Specified by:
showDialog in interface ModalDialogFactory

showErrorMessageDialog

public void showErrorMessageDialog(OWLModel owlModel,
                                   String message)
Specified by:
showErrorMessageDialog in interface ModalDialogFactory

showErrorMessageDialog

public void showErrorMessageDialog(Component parent,
                                   String message)
Specified by:
showErrorMessageDialog in interface ModalDialogFactory

showMessageDialog

public void showMessageDialog(OWLModel owlModel,
                              String message)
Specified by:
showMessageDialog in interface ModalDialogFactory

showMessageDialog

public void showMessageDialog(Component parent,
                              String message)
Specified by:
showMessageDialog in interface ModalDialogFactory

showThrowable

public void showThrowable(OWLModel owlModel,
                          Throwable t)
Specified by:
showThrowable in interface ModalDialogFactory