1 2 23 package org.enhydra.tool.codegen; 24 25 import org.enhydra.tool.codegen.wizard.CodeGenPanel; 27 28 import java.io.File ; 30 import java.util.Properties ; 31 32 37 public interface Generator { 38 39 47 abstract public void setProperties(Properties properties) 48 throws GeneratorException; 49 50 58 abstract public Properties getProperties(); 59 60 67 abstract public String getCommandName(); 68 69 75 abstract public String getDisplayName(); 76 77 83 abstract public String getWizardTitle(); 84 85 86 96 abstract public String getDescription(); 97 98 107 abstract public OptionSet getOptionSet(); 108 109 120 abstract public CodeGenPanel[] getWizardPanels() 121 throws GeneratorException; 122 123 141 abstract public File [] generate() throws GeneratorException; 142 143 144 152 abstract public String [] getAddinSteps(); 153 154 163 abstract public void setAddinSteps(String [] steps); 164 165 174 abstract public String [] getShellSteps(); 175 176 185 abstract public void setShellSteps(String [] steps); 186 187 abstract public void setEcho(boolean b); 188 abstract boolean isEcho(); 189 abstract public void setSwing(boolean b); 190 abstract boolean isSwing(); 191 192 } 193 | Popular Tags |