Class RefreshAction
java.lang.Object
javax.swing.AbstractAction
org.openstreetmap.josm.gui.dialogs.relation.actions.AbstractRelationEditorAction
org.openstreetmap.josm.gui.dialogs.relation.actions.SavingAction
org.openstreetmap.josm.gui.dialogs.relation.actions.RefreshAction
- All Implemented Interfaces:
ActionListener,PropertyChangeListener,Serializable,Cloneable,EventListener,Action,ListSelectionListener,TableModelListener,UndoRedoHandler.CommandQueueListener
Refresh relation.
- Since:
- 9657
- See Also:
-
Field Summary
FieldsFields inherited from class org.openstreetmap.josm.gui.dialogs.relation.actions.SavingAction
tfRoleFields inherited from class org.openstreetmap.josm.gui.dialogs.relation.actions.AbstractRelationEditorAction
editorAccessFields 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
ConstructorsConstructorDescriptionRefreshAction(IRelationEditorActionAccess editorAccess) Constructs a newRefreshAction. -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcommandChanged(int queueSize, int redoSize) Notifies the listener about the new queue sizeprotected intprotected intvoiddestroy()Allow GC to do its workvoidMethods inherited from class org.openstreetmap.josm.gui.dialogs.relation.actions.SavingAction
applyChanges, applyExistingConflictingRelation, applyExistingNonConflictingRelation, applyNewRelation, confirmClosingBecauseOfDirtyState, hideEditor, isEditorDirty, warnDoubleConflictMethods inherited from class org.openstreetmap.josm.gui.dialogs.relation.actions.AbstractRelationEditorAction
canDownload, getEditor, getLayer, getMemberTable, getMemberTableModel, getSelectionTable, getSelectionTableModel, getTagModel, isExpertOnly, propertyChange, tableChanged, valueChangedMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
serialVersionUID
- See Also:
-
-
Constructor Details
-
RefreshAction
Constructs a newRefreshAction.- Parameters:
editorAccess- An interface to access the relation editor contents.
-
-
Method Details
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-
updateEnabledState
- Overrides:
updateEnabledStatein classSavingAction
-
confirmDiscardDirtyData
-
confirmCloseDeletedRelation
-
commandChanged
Description copied from interface:UndoRedoHandler.CommandQueueListenerNotifies the listener about the new queue size- Specified by:
commandChangedin interfaceUndoRedoHandler.CommandQueueListener- Parameters:
queueSize- Undo stack sizeredoSize- Redo stack size
-
destroy
Allow GC to do its work
-