abstract class SavingAction extends AbstractRelationEditorAction
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
protected AutoCompletingTextField |
tfRole |
editorAccess
Modifier | Constructor and Description |
---|---|
protected |
SavingAction(IRelationEditorActionAccess editorAccess,
IRelationEditorUpdateOn... updateOn) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
applyChanges() |
protected void |
applyExistingConflictingRelation(TagEditorModel tagEditorModel)
Apply the updates for an existing relation which has been changed outside of the relation editor.
|
protected void |
applyExistingNonConflictingRelation(TagEditorModel tagEditorModel)
Apply the updates for an existing relation which has not been changed outside of the relation editor.
|
protected void |
applyNewRelation(TagEditorModel tagEditorModel)
apply updates to a new relation
|
protected boolean |
confirmClosingBecauseOfDirtyState() |
protected void |
hideEditor() |
protected boolean |
isEditorDirty() |
protected void |
updateEnabledState() |
protected void |
warnDoubleConflict() |
canDownload, getEditor, getLayer, getMemberTable, getMemberTableModel, getSelectionTable, getSelectionTableModel, getTagModel, isExpertOnly, propertyChange, tableChanged, valueChanged
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
private static final long serialVersionUID
protected final AutoCompletingTextField tfRole
protected SavingAction(IRelationEditorActionAccess editorAccess, IRelationEditorUpdateOn... updateOn)
protected void applyNewRelation(TagEditorModel tagEditorModel)
tagEditorModel
- tag editor modelprotected void applyExistingConflictingRelation(TagEditorModel tagEditorModel)
tagEditorModel
- tag editor modelprotected void applyExistingNonConflictingRelation(TagEditorModel tagEditorModel)
tagEditorModel
- tag editor modelprotected boolean confirmClosingBecauseOfDirtyState()
protected void warnDoubleConflict()
protected void updateEnabledState()
updateEnabledState
in class AbstractRelationEditorAction
protected boolean applyChanges()
protected void hideEditor()
protected boolean isEditorDirty()