Package org.jboss.forge.addon.ui.facets

Examples of org.jboss.forge.addon.ui.facets.HintsFacet


   }

   @Test
   public void testInputType()
   {
      HintsFacet hints = firstName.getFacet(HintsFacet.class);
      String inputType = hints.getInputType();
      Assert.assertEquals(InputType.DEFAULT, inputType);

      hints.setInputType(InputType.TEXTAREA);
      Assert.assertSame(firstName, firstName);
      Assert.assertSame(InputType.TEXTAREA, hints.getInputType());
   }
View Full Code Here


            {
               input = factory.createInput(name, calculateType(valueType));
            }
            if (valueType == Class.class)
            {
               HintsFacet facet = (HintsFacet) input.getFacet(HintsFacet.class);
               facet.setInputType(InputType.JAVA_CLASS_PICKER);
            }
            inputComponent = input;
         }
         try
         {
View Full Code Here

            {
               input = factory.createInput(name, calculateType(valueType));
            }
            if (valueType == Class.class)
            {
               HintsFacet facet = (HintsFacet) input.getFacet(HintsFacet.class);
               facet.setInputType(InputType.JAVA_CLASS_PICKER);
            }
            inputComponent = input;
         }
         try
         {
View Full Code Here

            {
               input = factory.createInput(name, calculateType(valueType));
            }
            if (valueType == Class.class)
            {
               HintsFacet facet = (HintsFacet) input.getFacet(HintsFacet.class);
               facet.setInputType(InputType.JAVA_CLASS_PICKER);
            }
            inputComponent = input;
         }
         try
         {
View Full Code Here

            {
               input = factory.createInput(name, calculateType(valueType));
            }
            if (valueType == Class.class)
            {
               HintsFacet facet = (HintsFacet) input.getFacet(HintsFacet.class);
               facet.setInputType(InputType.JAVA_CLASS_PICKER);
            }
            inputComponent = input;
         }
         try
         {
View Full Code Here

            {
               input = factory.createInput(name, calculateType(valueType));
            }
            if (valueType == Class.class)
            {
               HintsFacet facet = (HintsFacet) input.getFacet(HintsFacet.class);
               facet.setInputType(InputType.JAVA_CLASS_PICKER);
            }
            inputComponent = input;
         }
         try
         {
View Full Code Here

TOP

Related Classes of org.jboss.forge.addon.ui.facets.HintsFacet

Copyright © 2018 www.massapicom. 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.