Class SelectRelationAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.openstreetmap.josm.actions.relation.AbstractRelationAction
-
- org.openstreetmap.josm.actions.relation.SelectRelationAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
,IPrimitiveAction
,Destroyable
public class SelectRelationAction extends AbstractRelationAction
Sets the current selection to specified list of relations- Since:
- 5793
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
add
-
Fields inherited from class org.openstreetmap.josm.actions.relation.AbstractRelationAction
relations
-
-
Constructor Summary
Constructors Constructor Description SelectRelationAction(boolean add)
Constructs a newSelectRelationAction
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
-
Methods inherited from class org.openstreetmap.josm.actions.relation.AbstractRelationAction
canDownload, canModify, destroy, getRelations, setHelpId, setPrimitives, updateEnabledState
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
add
private final boolean add
-
-
Constructor Detail
-
SelectRelationAction
public SelectRelationAction(boolean add)
Constructs a newSelectRelationAction
.- Parameters:
add
- iftrue
, the relation will be added to current selection. Iffalse
, the relation will replace the current selection.
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
-
-