Package org.jboss.forge.addon.ui

Examples of org.jboss.forge.addon.ui.UICommand.validate()


   @Override
   public List<String> getValidationErrors()
   {
      UICommand currentCommand = builder.getCommand();
      UIValidationContextImpl validationContext = new UIValidationContextImpl(context);
      currentCommand.validate(validationContext);
      return validationContext.getErrors();
   }

   @Override
   public void execute(CommandListener listener) throws Exception
View Full Code Here


      for (InputComponent<?, ?> input : builder.getInputs())
      {
         input.validate(validationContext);
      }

      currentWizard.validate(validationContext);
      return validationContext.getErrors();
   }

   private ConverterFactory getConverterFactory()
   {
View Full Code Here

      for (InputComponent<?, ?> input : builder.getInputs())
      {
         input.validate(validationContext);
      }

      currentCommand.validate(validationContext);
      return validationContext.getErrors();
   }

   @Override
   public void execute(CommandExecutionListener listener) throws Exception
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.