|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IGenerator
This interface defines the common method of any code generator
| Method Summary | |
|---|---|
void |
cleanup()
Clean up the resources needed for the generation that are no further needed |
IJetGatewayConfiguration |
getConfig()
Get the configuration of the generator |
int |
getWorkload()
Define how expensive the generation process is. |
void |
init()
Initialize the generator |
IFile |
save(IProgressMonitor monitor,
byte[] contents)
Save the generated code in a file |
void |
setMonitor(IProgressMonitor monitor)
Set the monitor for the progress |
| Methods inherited from interface ch.sahits.codegen.generator.IBaseGenerator |
|---|
generate, init, isInitialized |
| Method Detail |
|---|
void init()
void setMonitor(IProgressMonitor monitor)
monitor - the monitor to set
IFile save(IProgressMonitor monitor,
byte[] contents)
throws CoreException
monitor - progress monitorcontents - bytes to be saved
CoreException
void cleanup()
throws CoreException
CoreExceptionint getWorkload()
IJetGatewayConfiguration getConfig()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||