Interface PseudoCommand

All Known Implementing Classes:
AbstractNodesCommand, AddCommand, AddPrimitivesCommand, ChangeCommand, ChangeMembersCommand, ChangeNodesCommand, ChangePropertyCommand, ChangePropertyCommand.OsmPseudoCommand, ChangePropertyKeyCommand, ChangePropertyKeyCommand.SinglePrimitivePseudoCommand, ChangeRelationMemberRoleCommand, Command, ConflictAddCommand, ConflictResolveCommand, CoordinateConflictResolveCommand, DeleteCommand, DeleteCommand.DeleteChildCommand, DeletedStateConflictResolveCommand, JoinAreasAction.JoinAreaCommand, ModifiedConflictResolveCommand, MoveCommand, PurgeCommand, RelationMemberConflictResolverCommand, RemoveNodesCommand, RotateCommand, ScaleCommand, SelectCommand, SequenceCommand, SplitWayCommand, TagConflictResolveCommand, TransformNodesCommand, ValidatorDialog.AutofixCommand, VersionConflictResolveCommand, WayNodesConflictResolverCommand

public interface PseudoCommand
PseudoCommand is a reduced form of a command. It can be presented in a tree view as subcommand of real commands but it is just an empty shell and can not be executed or undone.
Since:
3262 (creation), 10599 (functional interface)
  • Method Details

    • getDescriptionText

      Provides a description text representing this command.
      Returns:
      description text representing this command
    • getDescriptionIcon

      Provides a descriptive icon of this command.
      Returns:
      descriptive icon of this command
    • getParticipatingPrimitives

      Return the primitives that take part in this command.
      Returns:
      primitives that take part in this command
    • getChildren

      Returns the subcommands of this command. Override for subclasses that have child commands.
      Returns:
      the subcommands, null if there are no child commands