Class AddTagToPrimitiveAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.openstreetmap.josm.plugins.streetside.gui.imageinfo.AddTagToPrimitiveAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.io.Serializable,java.lang.Cloneable,java.util.EventListener,javax.swing.Action
public class AddTagToPrimitiveAction extends javax.swing.AbstractAction
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUIDprivate Tagtagprivate AbstractPrimitivetarget
-
Constructor Summary
Constructors Constructor Description AddTagToPrimitiveAction(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent e)voidsetTag(Tag tag)voidsetTarget(AbstractPrimitive target)private voidupdateEnabled()-
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
-
target
private AbstractPrimitive target
-
-
Constructor Detail
-
AddTagToPrimitiveAction
public AddTagToPrimitiveAction(java.lang.String name)
-
-
Method Detail
-
setTarget
public void setTarget(AbstractPrimitive target)
-
updateEnabled
private void updateEnabled()
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
-
-