Package org.openstreetmap.josm.actions
Class ShowStatusReportAction
java.lang.Object
javax.swing.AbstractAction
org.openstreetmap.josm.actions.JosmAction
org.openstreetmap.josm.actions.ShowStatusReportAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action,Destroyable
Opens a dialog with useful status information like version numbers for Java, JOSM and plugins
Also includes preferences with stripped username and password.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openstreetmap.josm.actions.JosmAction
JosmAction.ActiveLayerChangeAdapter, JosmAction.LayerChangeAdapter, JosmAction.SelectionChangeAdapter -
Field Summary
FieldsFields inherited from class org.openstreetmap.josm.actions.JosmAction
scFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprivate static voidappendCollection(PrintWriter text, String label, Collection<String> col) Fill map with anonymized name to the actual used path.private static Collection<String>getCustomUrls(SourcePrefHelper helper) static StringReplies the report header (software and system info)(package private) static StringparamCleanup(String param) Shortens and removes private information from a parameter used for status report.paramCleanup(Collection<String> params) private static StringparamReplace(String str, String target, String replacement) private static Stringprivate static StringvalueCleanup(Object value) Methods inherited from class org.openstreetmap.josm.actions.JosmAction
buildActiveLayerChangeAdapter, buildLayerChangeAdapter, checkAndConfirmOutlyingOperation, destroy, getLayerManager, getShortcut, initEnabledState, installAdapters, listenToLayerChange, listenToSelectionChange, setHelpId, setToolbarId, setTooltip, updateEnabledState, updateEnabledState, updateEnabledStateOnCurrentSelection, updateEnabledStateOnCurrentSelection, updateEnabledStateOnModifiableSelection, waitFutureMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
ACTION_DESCRIPTION
Localized description text for this action
-
-
Constructor Details
-
ShowStatusReportAction
public ShowStatusReportAction()Constructs a newShowStatusReportAction
-
-
Method Details
-
getReportHeader
Replies the report header (software and system info)- Returns:
- The report header (software and system info)
-
toString
-
getCustomUrls
-
paramCleanup
-
getAnonimicDirectorySymbolMap
Fill map with anonymized name to the actual used path.- Returns:
- map that maps shortened name to full directory path
-
paramCleanup
Shortens and removes private information from a parameter used for status report.- Parameters:
param- parameter to cleanup- Returns:
- shortened/anonymized parameter
-
paramReplace
-
appendCollection
-
valueCleanup
-
actionPerformed
-