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

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.openstreetmap.josm.gui.dialogs.relation.GenericRelationEditor.AddFromSelectionAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
Direct Known Subclasses:
GenericRelationEditor.AddSelectedAfterSelection, GenericRelationEditor.AddSelectedAtEndAction, GenericRelationEditor.AddSelectedAtStartAction, GenericRelationEditor.AddSelectedBeforeSelection, GenericRelationEditor.PasteMembersAction
Enclosing class:
GenericRelationEditor

abstract class GenericRelationEditor.AddFromSelectionAction
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.AddFromSelectionAction()
           
 
Method Summary
protected  java.util.List<OsmPrimitive> filterConfirmedPrimitives(java.util.List<OsmPrimitive> primitives)
           
protected  boolean isPotentialDuplicate(OsmPrimitive primitive)
           
 
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.AddFromSelectionAction

GenericRelationEditor.AddFromSelectionAction()
Method Detail

isPotentialDuplicate

protected boolean isPotentialDuplicate(OsmPrimitive primitive)

filterConfirmedPrimitives

protected java.util.List<OsmPrimitive> filterConfirmedPrimitives(java.util.List<OsmPrimitive> primitives)
                                                          throws GenericRelationEditor.AddAbortException
Throws:
GenericRelationEditor.AddAbortException


JOSM