Class SelectCmd

java.lang.Object
com.j3d.engine.interact.cmd.base.Command
com.j3d.engine.interact.cmd.commands.SelectCmd

public class SelectCmd extends Command
A command which selects a given GObject

Provides a required TypedArg which accepts an Wildcard type, but expects a GObject (representing a GObject's name or UUID)

Aliases: select, s, sel

Typical Usage:


     s 123e4567-e89b-12d3-a456-426614174000 - Selects the object with the given UUID
     

Author:
Lehlogonolo Poole
See Also:
  • Constructor Details

    • SelectCmd

      public SelectCmd()
  • Method Details

    • run

      public void run(Invoker invoker, SafeJLabel logLabel, String aliasUsed, Object[] args, ArrayList<TaggedArgValue<?>> taggedArgs)
      Description copied from class: Command
      The method to be overridden by subclasses to implement command functionality.
      Overrides:
      run in class Command
      Parameters:
      invoker - The invoker of this command
      logLabel - The JLabel to display log messages.
      aliasUsed - The alias of the command that was used to invoke it.
      args - The arguments passed to the command.
      taggedArgs - Tagged arguments passed to the command.