Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-2109 Refactoring the UICommands
  3. FORGE-2255

Adding helper methods in CommandController

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Minor Minor
    • 2.15.0.Final
    • 2.14.0.Final
    • UI - API
    • None

      CommandController has a method that list of the command inputs :

      Map<String, InputComponent<?, ?>> getInputs();
      

      It would be good to add a few helper methods (like in Roaster) :

      InputComponent<?, ?> getInput(String input); // returns one input
      boolean hasInput(String input); // checks if the input is present
      

              agoncal Antonio Goncalves (Inactive)
              agoncal Antonio Goncalves (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: