Class AddFromSelectionAction
java.lang.Object
javax.swing.AbstractAction
org.openstreetmap.josm.gui.dialogs.relation.actions.AbstractRelationEditorAction
org.openstreetmap.josm.gui.dialogs.relation.actions.AddFromSelectionAction
- All Implemented Interfaces:
ActionListener,PropertyChangeListener,Serializable,Cloneable,EventListener,Action,ListSelectionListener,TableModelListener
- Direct Known Subclasses:
AddSelectedAfterSelection,AddSelectedAtEndAction,AddSelectedAtStartAction,AddSelectedBeforeSelection,CopyMembersAction,PasteMembersAction,RemoveSelectedAction,SelectedMembersForSelectionAction
Abstract superclass of "Add from selection" actions.
- Since:
- 9496
-
Field Summary
FieldsFields inherited from class org.openstreetmap.josm.gui.dialogs.relation.actions.AbstractRelationEditorAction
editorAccessFields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields 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
ConstructorsModifierConstructorDescriptionprotectedAddFromSelectionAction(IRelationEditorActionAccess editorAccess, IRelationEditorUpdateOn... updateOn) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<OsmPrimitive>filterConfirmedPrimitives(List<OsmPrimitive> primitives) protected booleanisPotentialDuplicate(OsmPrimitive primitive) Methods inherited from class org.openstreetmap.josm.gui.dialogs.relation.actions.AbstractRelationEditorAction
canDownload, getEditor, getLayer, getMemberTable, getMemberTableModel, getSelectionTable, getSelectionTableModel, getTagModel, isExpertOnly, propertyChange, tableChanged, updateEnabledState, valueChangedMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.awt.event.ActionListener
actionPerformed
-
Field Details
-
serialVersionUID
- See Also:
-
-
Constructor Details
-
AddFromSelectionAction
protected AddFromSelectionAction(IRelationEditorActionAccess editorAccess, IRelationEditorUpdateOn... updateOn)
-
-
Method Details
-
isPotentialDuplicate
-
filterConfirmedPrimitives
protected List<OsmPrimitive> filterConfirmedPrimitives(List<OsmPrimitive> primitives) throws GenericRelationEditor.AddAbortException
-