|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.sahits.codegen.wizards.BasicGeneralCodeGenerator
public abstract class BasicGeneralCodeGenerator
This basic generator class defines the basis for code generation. Java sources as well as other artefactes can be pruduced with subclasses of this abstract class
| Field Summary | |
|---|---|
protected ICodeGeneratorDelegate |
delegate
Class to which the concrete tasks are delegated |
| Constructor Summary | |
|---|---|
BasicGeneralCodeGenerator(ICodeGeneratorDelegate delegatedGenerator)
Constructor initializing the delegated code generator |
|
| Method Summary | |
|---|---|
protected abstract void |
doFinish(IProgressMonitor monitor,
int modelWorkload,
IBasicDBDefinitionPage dbDefinitionPage)
Produce an artifact file |
void |
processQueuedElements()
Retrieve all elements in the Process queue that are registered for this element and process them. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ICodeGeneratorDelegate delegate
| Constructor Detail |
|---|
public BasicGeneralCodeGenerator(ICodeGeneratorDelegate delegatedGenerator)
delegatedGenerator - | Method Detail |
|---|
protected abstract void doFinish(IProgressMonitor monitor,
int modelWorkload,
IBasicDBDefinitionPage dbDefinitionPage)
throws java.io.FileNotFoundException,
java.io.IOException,
java.lang.ClassNotFoundException,
CoreException
monitor - IProgressMonitor to track the progressmodelWorkload - Workload for the generationdbDefinitionPage - current DB definition page
java.io.FileNotFoundException - File could not be found
java.io.IOException - File could not be read
java.lang.ClassNotFoundException - Class not found on the class path
CoreException - some other exceptionpublic final void processQueuedElements()
processQueuedElements in interface IProcessQueuedAction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||