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:
java.awt.event.ActionListener
,java.beans.PropertyChangeListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
,javax.swing.event.ListSelectionListener
,javax.swing.event.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
-
-
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 java.util.List<OsmPrimitive>
filterConfirmedPrimitives(java.util.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
-
-
-
-
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 java.util.List<OsmPrimitive> filterConfirmedPrimitives(java.util.List<OsmPrimitive> primitives) throws GenericRelationEditor.AddAbortException
-
-