]
Antonio Goncalves reassigned FORGE-2255:
----------------------------------------
Assignee: Antonio Goncalves
Adding helper methods in CommandController
------------------------------------------
Key: FORGE-2255
URL:
https://issues.jboss.org/browse/FORGE-2255
Project: Forge
Issue Type: Sub-task
Components: UI - API
Affects Versions: 2.14.0.Final
Reporter: Antonio Goncalves
Assignee: Antonio Goncalves
Priority: Minor
Fix For: 2.x Future
CommandController has a method that list of the command inputs :
{code}
Map<String, InputComponent<?, ?>> getInputs();
{code}
It would be good to add a few helper methods (like in Roaster) :
{code}
InputComponent<?, ?> getInput(String input); // returns one input
boolean hasInput(String input); // checks if the input is present
{code}