abstract class SavingAction extends AbstractRelationEditorAction
| Modifier and Type | Field and Description |
|---|---|
protected TagEditorModel |
tagModel |
protected AutoCompletingTextField |
tfRole |
editor, layer, memberTable, memberTableModel| Modifier | Constructor and Description |
|---|---|
protected |
SavingAction(MemberTable memberTable,
MemberTableModel memberTableModel,
TagEditorModel tagModel,
OsmDataLayer layer,
IRelationEditor editor,
AutoCompletingTextField tfRole) |
| 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() |
tableChanged, valueChangedaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledprotected final TagEditorModel tagModel
protected final AutoCompletingTextField tfRole
protected SavingAction(MemberTable memberTable, MemberTableModel memberTableModel, TagEditorModel tagModel, OsmDataLayer layer, IRelationEditor editor, AutoCompletingTextField tfRole)
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 AbstractRelationEditorActionprotected boolean applyChanges()
protected void hideEditor()
protected boolean isEditorDirty()