1 2 24 package org.enhydra.tool.codegen.internal; 25 26 import org.enhydra.tool.codegen.ProjectOptionSet; 28 import org.enhydra.tool.codegen.GeneratorException; 29 import org.enhydra.tool.codegen.GeneratorOption; 30 31 import java.util.ResourceBundle ; 33 public class ServiceOptionSet extends ProjectOptionSet { 34 35 private final String DEF_SERVICE = "Untitled"; 39 public static final String SERVICE = "service"; 41 44 public static final String MBEAN = "mbean"; 46 public ServiceOptionSet() { 47 super(); 48 try { 49 add (new GeneratorOption (SERVICE, DEF_SERVICE, 50 "SERVICE", 51 "The name for the SERVICE classes", 52 true, true)); 53 add(new GeneratorOption(MBEAN, true, "MBean support", false)); 54 } catch (GeneratorException e) { 55 e.printStackTrace(); 56 } 57 } 58 59 } 60 | Popular Tags |