ch.sahits.codegen.ui.wizards
Class ArtefactCodegenModelWizard

java.lang.Object
  extended by GeneralCodeGenerationWizard
      extended by ch.sahits.codegen.ui.wizards.ArtefactCodegenModelWizard

public final class ArtefactCodegenModelWizard
extends GeneralCodeGenerationWizard

This is the implementation for the model generator for any artifact

Since:
1.2.0
Author:
Andi Hotz

Constructor Summary
ArtefactCodegenModelWizard()
          Default constructor
 
Method Summary
 void createPageControls(org.eclipse.swt.widgets.Composite pageContainer)
          Call the super method and afterwards initialize the fields on the detail page
 IInputObjectModel getModel()
          Retrieve model artefact to be generated
 boolean performFinish()
          This methods generates a GeneratedClassDelegateGenerator model and sets the model.
 void setSelecteDBCodeConstant(int selecteDBCodeConstant)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArtefactCodegenModelWizard

public ArtefactCodegenModelWizard()
Default constructor

Method Detail

getModel

public IInputObjectModel getModel()
Retrieve model artefact to be generated

Returns:
the defined class model

setSelecteDBCodeConstant

public void setSelecteDBCodeConstant(int selecteDBCodeConstant)
Parameters:
selecteDBCodeConstant - the selecteDBCodeConstant to set

createPageControls

public void createPageControls(org.eclipse.swt.widgets.Composite pageContainer)
Call the super method and afterwards initialize the fields on the detail page

Parameters:
pageContainer - parent container
See Also:
org.eclipse.jface.wizard.Wizard#createPageControls(org.eclipse.swt.widgets.Composite)

performFinish

public boolean performFinish()
This methods generates a GeneratedClassDelegateGenerator model and sets the model.

See Also:
#generateClassModel(ch.sahits.model.IOutputFileModel)