Package megamek.client.ui.clientGUI
Class BugReportDialog
java.lang.Object
megamek.client.ui.clientGUI.BugReportDialog
-
Constructor Summary
ConstructorsConstructorDescriptionBugReportDialog(Window parent, Action copySystemDataAction) Creates the dialog without a bug report packaging button.BugReportDialog(Window parent, Action copySystemDataAction, Action packageBugReportAction) Creates the dialog. -
Method Summary
Modifier and TypeMethodDescriptionvoidshow()static voidshowWithGameTools(Window parent, Supplier<Client> clientSupplier) Opens the helper with the full set of gathering tools, for the places in the program that are reached while a game may be running.
-
Constructor Details
-
BugReportDialog
Creates the dialog without a bug report packaging button.- Parameters:
parent- the window to centre on, ornullcopySystemDataAction- shown as a button when notnull
-
BugReportDialog
public BugReportDialog(@Nullable Window parent, @Nullable Action copySystemDataAction, @Nullable Action packageBugReportAction) Creates the dialog.- Parameters:
parent- the window to centre on, ornullcopySystemDataAction- shown as a button when notnullpackageBugReportAction- shown as a button when notnull; collects the save and logs into a single archive the player can attach to an issue
-
-
Method Details
-
show
public void show() -
showWithGameTools
Opens the helper with the full set of gathering tools, for the places in the program that are reached while a game may be running.- Parameters:
parent- the window to centre on, ornullclientSupplier- supplies the client whose game should be packaged, consulted when the player presses the button rather than now; may returnnull, which packages the logs alone
-