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 class AddFromSelectionAction extends AbstractRelationEditorAction
Abstract superclass of "Add from selection" actions.- Since:
- 9496
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Fields inherited from class org.openstreetmap.josm.gui.dialogs.relation.actions.AbstractRelationEditorAction
editorAccess
-
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
Constructors Modifier Constructor Description protected
AddFromSelectionAction(IRelationEditorActionAccess editorAccess, IRelationEditorUpdateOn... updateOn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<OsmPrimitive>
filterConfirmedPrimitives(List<OsmPrimitive> primitives)
protected boolean
isPotentialDuplicate(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, valueChanged
-
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
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AddFromSelectionAction
protected AddFromSelectionAction(IRelationEditorActionAccess editorAccess, IRelationEditorUpdateOn... updateOn)
-
-
Method Detail
-
isPotentialDuplicate
protected boolean isPotentialDuplicate(OsmPrimitive primitive)
-
filterConfirmedPrimitives
protected List<OsmPrimitive> filterConfirmedPrimitives(List<OsmPrimitive> primitives) throws GenericRelationEditor.AddAbortException
-
-