Package edu.umd.cs.findbugs
Interface IGuiCallback
- All Known Implementing Classes:
AbstractSwingGuiCallback
,CommandLineUiCallback
public interface IGuiCallback
Interface for any kind of GUI attached to the current FindBug analysis
- Author:
- Andrei
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier 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
registerCloud
(Project project, BugCollection collection, Cloud cloud) Called as soon as the cloud object is created, before it is initialized.void
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) void
unregisterCloud
(Project project, BugCollection collection, Cloud cloud)
-
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
-
registerCloud
Called as soon as the cloud object is created, before it is initialized. Useful for adding status msg listener. -
unregisterCloud
-
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
-