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 TypeMethodDescriptionvoid
displayNonmodelMessage
(String title, String message) Use this executor to queue bug collection updates without interfering with the GUI.getProgressMonitorInputStream
(InputStream in, int length, String msg) void
boolean
If true, do not open windows or browsersint
showConfirmDialog
(String message, String title, String ok, String cancel) boolean
showDocument
(URL u) showForm
(String message, String title, List<IGuiCallback.FormItem> items) void
showMessageDialog
(String message) void
showMessageDialogAndWait
(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, wait
Methods inherited from interface edu.umd.cs.findbugs.IGuiCallback
registerCloud, setErrorMessage, unregisterCloud
-
Constructor Details
-
AbstractSwingGuiCallback
-
-
Method Details
-
getBugUpdateExecutor
Description copied from interface:IGuiCallback
Use this executor to queue bug collection updates without interfering with the GUI. Runs on the AWT event thread.- Specified by:
getBugUpdateExecutor
in interfaceIGuiCallback
-
showMessageDialogAndWait
- Specified by:
showMessageDialogAndWait
in interfaceIGuiCallback
- Throws:
InterruptedException
-
showMessageDialog
- Specified by:
showMessageDialog
in interfaceIGuiCallback
-
showConfirmDialog
- Specified by:
showConfirmDialog
in interfaceIGuiCallback
-
getProgressMonitorInputStream
- Specified by:
getProgressMonitorInputStream
in interfaceIGuiCallback
-
displayNonmodelMessage
- Specified by:
displayNonmodelMessage
in interfaceIGuiCallback
-
showQuestionDialog
- Specified by:
showQuestionDialog
in interfaceIGuiCallback
-
showForm
- Specified by:
showForm
in interfaceIGuiCallback
-
showDocument
- Specified by:
showDocument
in interfaceIGuiCallback
-
isHeadless
public boolean isHeadless()Description copied from interface:IGuiCallback
If true, do not open windows or browsers- Specified by:
isHeadless
in interfaceIGuiCallback
-
invokeInGUIThread
- Specified by:
invokeInGUIThread
in interfaceIGuiCallback
-