public class RefreshAction extends SavingAction implements UndoRedoHandler.CommandQueueListener
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
tfRoleeditorAccess| 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 |
destroy()
Allow GC to do its work
|
void |
updateEnabledState() |
applyChanges, applyExistingConflictingRelation, applyExistingNonConflictingRelation, applyNewRelation, confirmClosingBecauseOfDirtyState, hideEditor, isEditorDirty, warnDoubleConflictcanDownload, getEditor, getLayer, getMemberTable, getMemberTableModel, getSelectionTable, getSelectionTableModel, getTagModel, isExpertOnly, propertyChange, tableChanged, valueChangedprivate 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.ActionListenerpublic void updateEnabledState()
updateEnabledState in class SavingActionprotected int confirmDiscardDirtyData()
protected int confirmCloseDeletedRelation()
public void commandChanged(int queueSize, int redoSize)
UndoRedoHandler.CommandQueueListenercommandChanged in interface UndoRedoHandler.CommandQueueListenerqueueSize - Undo stack sizeredoSize - Redo stack sizepublic void destroy()