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 intstatic final intstatic final intstatic final intstatic final intstatic final int -
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 browsersvoidregisterCloud(Project project, BugCollection collection, Cloud cloud) Called as soon as the cloud object is created, before it is initialized.voidsetErrorMessage(String errorMsg) intshowConfirmDialog(String message, String title, String ok, String cancel) booleanshowDocument(URL u) showForm(String message, String title, List<IGuiCallback.FormItem> labels) voidshowMessageDialog(String message) voidshowMessageDialogAndWait(String message) showQuestionDialog(String message, String title, String defaultValue) voidunregisterCloud(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
-