org.openstreetmap.josm.gui.dialogs.relation
Class GenericRelationEditor.SavingAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.openstreetmap.josm.gui.dialogs.relation.GenericRelationEditor.SavingAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
Direct Known Subclasses:
GenericRelationEditor.ApplyAction, GenericRelationEditor.CancelAction, GenericRelationEditor.OKAction
Enclosing class:
GenericRelationEditor

abstract class GenericRelationEditor.SavingAction
extends javax.swing.AbstractAction


Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields 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
GenericRelationEditor.SavingAction()
           
 
Method Summary
protected  void applyExistingConflictingRelation()
          Apply the updates for an existing relation which has been changed outside of the relation editor.
protected  void applyExistingNonConflictingRelation()
          Apply the updates for an existing relation which has not been changed outside of the relation editor.
protected  void applyNewRelation()
          apply updates to a new relation
protected  boolean confirmClosingBecauseOfDirtyState()
           
protected  void warnDoubleConflict()
           
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 

Constructor Detail

GenericRelationEditor.SavingAction

GenericRelationEditor.SavingAction()
Method Detail

applyNewRelation

protected void applyNewRelation()
apply updates to a new relation


applyExistingConflictingRelation

protected void applyExistingConflictingRelation()
Apply the updates for an existing relation which has been changed outside of the relation editor.


applyExistingNonConflictingRelation

protected void applyExistingNonConflictingRelation()
Apply the updates for an existing relation which has not been changed outside of the relation editor.


confirmClosingBecauseOfDirtyState

protected boolean confirmClosingBecauseOfDirtyState()

warnDoubleConflict

protected void warnDoubleConflict()


JOSM