Skip to content

Commit

Permalink
JavaNewEnumConstantCommandImpl uses UIInput instead of UISelectOne
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Oct 2, 2015
1 parent 0306693 commit cad5556
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -22,8 +22,8 @@
import org.jboss.forge.addon.ui.context.UIExecutionContext;
import org.jboss.forge.addon.ui.context.UISelection;
import org.jboss.forge.addon.ui.context.UIValidationContext;
import org.jboss.forge.addon.ui.input.UIInput;
import org.jboss.forge.addon.ui.input.UIInputMany;
import org.jboss.forge.addon.ui.input.UISelectOne;
import org.jboss.forge.addon.ui.metadata.UICommandMetadata;
import org.jboss.forge.addon.ui.metadata.WithAttributes;
import org.jboss.forge.addon.ui.result.Result;
Expand All @@ -43,7 +43,7 @@ public class JavaNewEnumConstantCommandImpl extends AbstractProjectCommand imple

@Inject
@WithAttributes(label = "Enum Class", required = true)
private UISelectOne<JavaResource> enumClass;
private UIInput<JavaResource> enumClass;

@Inject
@WithAttributes(label = "Enum Constants", required = true)
Expand Down

0 comments on commit cad5556

Please sign in to comment.