Package edu.umd.cs.findbugs.gui2
Class AbstractSwingGuiCallback
java.lang.Object
edu.umd.cs.findbugs.gui2.AbstractSwingGuiCallback
- All Implemented Interfaces:
IGuiCallback
-
Nested Class Summary
Nested classes/interfaces inherited from interface edu.umd.cs.findbugs.IGuiCallback
IGuiCallback.FormItem -
Field Summary
Fields inherited from interface edu.umd.cs.findbugs.IGuiCallback
CANCEL_OPTION, NO_OPTION, OK_CANCEL_OPTION, YES_NO_CANCEL_OPTION, YES_NO_OPTION, YES_OPTION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddisplayNonmodelMessage(String title, String message) Use this executor to queue bug collection updates without interfering with the GUI.getProgressMonitorInputStream(InputStream in, int length, String msg) voidbooleanIf true, do not open windows or browsersintshowConfirmDialog(String message, String title, String ok, String cancel) booleanshowDocument(URL u) showForm(String message, String title, List<IGuiCallback.FormItem> items) voidshowMessageDialog(String message) voidshowMessageDialogAndWait(String message) showQuestionDialog(String message, String title, String defaultValue) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface edu.umd.cs.findbugs.IGuiCallback
registerCloud, setErrorMessage, unregisterCloud
-
Constructor Details
-
AbstractSwingGuiCallback
-
-
Method Details
-
getBugUpdateExecutor
Description copied from interface:IGuiCallbackUse this executor to queue bug collection updates without interfering with the GUI. Runs on the AWT event thread.- Specified by:
getBugUpdateExecutorin interfaceIGuiCallback
-
showMessageDialogAndWait
- Specified by:
showMessageDialogAndWaitin interfaceIGuiCallback- Throws:
InterruptedException
-
showMessageDialog
- Specified by:
showMessageDialogin interfaceIGuiCallback
-
showConfirmDialog
- Specified by:
showConfirmDialogin interfaceIGuiCallback
-
getProgressMonitorInputStream
- Specified by:
getProgressMonitorInputStreamin interfaceIGuiCallback
-
displayNonmodelMessage
- Specified by:
displayNonmodelMessagein interfaceIGuiCallback
-
showQuestionDialog
- Specified by:
showQuestionDialogin interfaceIGuiCallback
-
showForm
- Specified by:
showFormin interfaceIGuiCallback
-
showDocument
- Specified by:
showDocumentin interfaceIGuiCallback
-
isHeadless
public boolean isHeadless()Description copied from interface:IGuiCallbackIf true, do not open windows or browsers- Specified by:
isHeadlessin interfaceIGuiCallback
-
invokeInGUIThread
- Specified by:
invokeInGUIThreadin interfaceIGuiCallback
-