Package megamek.client.ui
Class ShowBugReportDialogAction
java.lang.Object
javax.swing.AbstractAction
megamek.client.ui.ShowBugReportDialogAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
- See Also:
-
Field Summary
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON -
Constructor Summary
ConstructorsConstructorDescriptionShowBugReportDialogAction(Container parent, CopySystemDataAction copySystemDataAction) Creates an action that shows the Bug Report helper dialog. -
Method Summary
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
ShowBugReportDialogAction
public ShowBugReportDialogAction(@Nullable Container parent, @Nullable CopySystemDataAction copySystemDataAction) Creates an action that shows the Bug Report helper dialog. The parent frame for the dialog is the given parent if it's a window or the window the parent is in. The given Action is used for a "Copy System Data" button. This action needs to know the current project (MM/MML/MHQ) which is why it isn't created internally.- Parameters:
parent- The parent componentcopySystemDataAction- An Action shown as a button in the dialog- See Also:
-
-
Method Details
-
actionPerformed
-