Package edu.umd.cs.findbugs
Interface IGuiCallback
- All Known Implementing Classes:
CommandLineUiCallback
public interface IGuiCallback
Interface for any kind of GUI attached to the current FindBug analysis
- Author:
- Andrei
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
-
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 browsersvoid
setErrorMessage
(String errorMsg) int
showConfirmDialog
(String message, String title, String ok, String cancel) boolean
showDocument
(URL u) showForm
(String message, String title, List<IGuiCallback.FormItem> labels) void
showMessageDialog
(String message) void
showMessageDialogAndWait
(String message) showQuestionDialog
(String message, String title, String defaultValue)
-
Field Details
-
YES_OPTION
static final int YES_OPTION- See Also:
-
NO_OPTION
static final int NO_OPTION- See Also:
-
CANCEL_OPTION
static final int CANCEL_OPTION- See Also:
-
YES_NO_OPTION
static final int YES_NO_OPTION- See Also:
-
YES_NO_CANCEL_OPTION
static final int YES_NO_CANCEL_OPTION- See Also:
-
OK_CANCEL_OPTION
static final int OK_CANCEL_OPTION- See Also:
-
-
Method Details
-
isHeadless
boolean isHeadless()If true, do not open windows or browsers -
showMessageDialog
-
invokeInGUIThread
-
showConfirmDialog
-
showQuestionDialog
-
showForm
-
getProgressMonitorInputStream
-
setErrorMessage
-
displayNonmodelMessage
-
showDocument
-
getBugUpdateExecutor
ExecutorService getBugUpdateExecutor()Use this executor to queue bug collection updates without interfering with the GUI. Runs on the AWT event thread. -
showMessageDialogAndWait
- Throws:
InterruptedException
-