public class CommandHelpers extends Object
| Constructor and Description |
|---|
CommandHelpers() |
| Modifier and Type | Method and Description |
|---|---|
static List<org.jboss.forge.addon.ui.input.InputComponent> |
addInputComponents(org.jboss.forge.addon.ui.context.UIBuilder builder,
org.jboss.forge.addon.ui.input.InputComponent... components)
A helper function to add the components to the builder and return a list of all the components
|
static File |
getBaseDir(org.jboss.forge.addon.projects.Project project) |
static void |
putComponentValuesInAttributeMap(org.jboss.forge.addon.ui.context.UIExecutionContext context,
List<org.jboss.forge.addon.ui.input.InputComponent> inputComponents) |
static <T> void |
setInitialComponentValue(org.jboss.forge.addon.ui.input.UIInput<T> inputComponent,
T value)
If the initial value is not blank lets set the value on the underlying component
|
public static List<org.jboss.forge.addon.ui.input.InputComponent> addInputComponents(org.jboss.forge.addon.ui.context.UIBuilder builder, org.jboss.forge.addon.ui.input.InputComponent... components)
public static void putComponentValuesInAttributeMap(org.jboss.forge.addon.ui.context.UIExecutionContext context,
List<org.jboss.forge.addon.ui.input.InputComponent> inputComponents)
public static <T> void setInitialComponentValue(org.jboss.forge.addon.ui.input.UIInput<T> inputComponent,
T value)
public static File getBaseDir(org.jboss.forge.addon.projects.Project project)
Copyright © 2011–2015 Red Hat. All rights reserved.