Class ShowHistoryAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.openstreetmap.josm.actions.AbstractShowHistoryAction
-
- org.openstreetmap.josm.gui.history.ShowHistoryAction
-
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
class ShowHistoryAction extends AbstractShowHistoryAction
Open a history browser with the history of an object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
ShowHistoryAction.DoubleClickAdapter
-
Field Summary
Fields Modifier and Type Field Description private PrimitiveId
primitiveId
-
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
-
Fields 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 Constructor Description ShowHistoryAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent e)
void
run()
void
setPrimitiveId(PrimitiveId pid)
void
updateEnabledState()
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
primitiveId
private transient PrimitiveId primitiveId
-
-
Constructor Detail
-
ShowHistoryAction
ShowHistoryAction()
-
-
Method Detail
-
actionPerformed
public void actionPerformed(ActionEvent e)
-
setPrimitiveId
public void setPrimitiveId(PrimitiveId pid)
-
run
public void run()
-
updateEnabledState
public void updateEnabledState()
-
-