public class RefreshAction extends SavingAction implements UndoRedoHandler.CommandQueueListener
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
tfRole
editorAccess
Constructor and Description |
---|
RefreshAction(IRelationEditorActionAccess editorAccess)
Constructs a new
RefreshAction . |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
void |
commandChanged(int queueSize,
int redoSize)
Notifies the listener about the new queue size
|
protected int |
confirmCloseDeletedRelation() |
protected int |
confirmDiscardDirtyData() |
void |
updateEnabledState() |
applyChanges, applyExistingConflictingRelation, applyExistingNonConflictingRelation, applyNewRelation, confirmClosingBecauseOfDirtyState, hideEditor, isEditorDirty, warnDoubleConflict
canDownload, getEditor, getLayer, getMemberTable, getMemberTableModel, getSelectionTable, getSelectionTableModel, getTagModel, isExpertOnly, propertyChange, tableChanged, valueChanged
private static final long serialVersionUID
public RefreshAction(IRelationEditorActionAccess editorAccess)
RefreshAction
.editorAccess
- An interface to access the relation editor contents.public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public void updateEnabledState()
updateEnabledState
in class SavingAction
protected int confirmDiscardDirtyData()
protected int confirmCloseDeletedRelation()
public void commandChanged(int queueSize, int redoSize)
UndoRedoHandler.CommandQueueListener
commandChanged
in interface UndoRedoHandler.CommandQueueListener
queueSize
- Undo stack sizeredoSize
- Redo stack size