Package org.openstreetmap.josm.command
Class ChangePropertyCommand.OsmPseudoCommand
- java.lang.Object
-
- org.openstreetmap.josm.command.ChangePropertyCommand.OsmPseudoCommand
-
- All Implemented Interfaces:
PseudoCommand
- Enclosing class:
- ChangePropertyCommand
static final class ChangePropertyCommand.OsmPseudoCommand extends java.lang.Object implements PseudoCommand
-
-
Field Summary
Fields Modifier and Type Field Description private OsmPrimitive
osm
-
Constructor Summary
Constructors Constructor Description OsmPseudoCommand(OsmPrimitive osm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.Icon
getDescriptionIcon()
Provides a descriptive icon of this command.java.lang.String
getDescriptionText()
Provides a description text representing this command.java.util.Collection<? extends OsmPrimitive>
getParticipatingPrimitives()
Return the primitives that take part in this command.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openstreetmap.josm.command.PseudoCommand
getChildren
-
-
-
-
Field Detail
-
osm
private final OsmPrimitive osm
-
-
Constructor Detail
-
OsmPseudoCommand
OsmPseudoCommand(OsmPrimitive osm)
-
-
Method Detail
-
getDescriptionText
public java.lang.String getDescriptionText()
Description copied from interface:PseudoCommand
Provides a description text representing this command.- Specified by:
getDescriptionText
in interfacePseudoCommand
- Returns:
- description text representing this command
-
getDescriptionIcon
public javax.swing.Icon getDescriptionIcon()
Description copied from interface:PseudoCommand
Provides a descriptive icon of this command.- Specified by:
getDescriptionIcon
in interfacePseudoCommand
- Returns:
- descriptive icon of this command
-
getParticipatingPrimitives
public java.util.Collection<? extends OsmPrimitive> getParticipatingPrimitives()
Description copied from interface:PseudoCommand
Return the primitives that take part in this command.- Specified by:
getParticipatingPrimitives
in interfacePseudoCommand
- Returns:
- primitives that take part in this command
-
-