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