Package org.jboss.forge.addon.parser.java.facets

Examples of org.jboss.forge.addon.parser.java.facets.JavaCompilerFacet


   }

   @Override
   public void initializeUI(UIBuilder builder) throws Exception
   {
      JavaCompilerFacet javaCompilerFacet = getJavaCompilerFacet(builder.getUIContext());
      sourceVersion.setDefaultValue(javaCompilerFacet.getSourceCompilerVersion());
      targetVersion.setDefaultValue(javaCompilerFacet.getTargetCompilerVersion());
      builder.add(sourceVersion).add(targetVersion);
   }
View Full Code Here


   }

   @Override
   public Result execute(UIExecutionContext context) throws Exception
   {
      JavaCompilerFacet facet = getJavaCompilerFacet(context.getUIContext());

      facet.setSourceCompilerVersion(sourceVersion.getValue());
      facet.setTargetCompilerVersion(targetVersion.getValue());
      return Results.success();
   }
View Full Code Here

   }

   @Override
   public void initializeUI(UIBuilder builder) throws Exception
   {
      JavaCompilerFacet javaCompilerFacet = getJavaCompilerFacet(builder.getUIContext());
      sourceVersion.setDefaultValue(javaCompilerFacet.getSourceCompilerVersion());
      targetVersion.setDefaultValue(javaCompilerFacet.getTargetCompilerVersion());
      builder.add(sourceVersion).add(targetVersion);
   }
View Full Code Here

   }

   @Override
   public Result execute(UIExecutionContext context) throws Exception
   {
      JavaCompilerFacet facet = getJavaCompilerFacet(context.getUIContext());

      facet.setSourceCompilerVersion(sourceVersion.getValue());
      facet.setTargetCompilerVersion(targetVersion.getValue());
      return Results.success();
   }
View Full Code Here

TOP

Related Classes of org.jboss.forge.addon.parser.java.facets.JavaCompilerFacet

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.