Interface IGuiCallback
- All Known Implementing Classes:
AbstractSwingGuiCallback, CommandLineUiCallback, MainFrame.MyGuiCallback
public interface IGuiCallback
Interface for any kind of GUI attached to the current FindBug analysis
-
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 browsersvoidsetErrorMessage(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)
-
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
-