|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.tool.common.DialogHandler | +--org.enhydra.tool.common.wizard.TBWizard | +--org.enhydra.tool.codegen.wizard.CodeGenWizard
The CodeGenDialog defines a default container for presenting wizards. To use this class you need to a create one or more CodeGenPage objects and add them to this dialog. This dialog supplies action buttons for the Previous, Next, Finish, Cancel and Help.
This class is used when creating a standalone wizard. Use the OpenTools BasicWizard when developing JBuilder add-ins.
Field Summary |
Fields inherited from class org.enhydra.tool.common.DialogHandler |
res |
Constructor Summary | |
CodeGenWizard()
|
|
CodeGenWizard(CodeGen cg)
|
Method Summary | |
void |
addSelectionListener(GenSelectionListener l)
|
void |
back()
|
protected void |
clearAll()
Clear all object references. |
void |
finish()
|
CodeGen |
getCodeGen()
|
static java.lang.String |
getDefaultTitle()
|
java.io.File[] |
getGeneratedFiles()
Get an array of references to generated files. |
Generator[] |
getGenerators()
Get the list of available generators. |
protected java.lang.String |
getProgressTitle()
|
Generator |
getSelection()
Get the generator selected by the user. |
java.lang.String |
getTitle()
|
boolean |
isAllowRootEdit()
|
static void |
main(java.lang.String[] args)
|
void |
next()
|
void |
removeSelecitonListener(GenSelectionListener l)
|
void |
setAllowRootEdit(boolean allow)
|
void |
setCodeGen(CodeGen cd)
Set the list of available generators. |
void |
setSelection(Generator selection)
Set the selected generator for a user and by pass the selection page. |
Methods inherited from class org.enhydra.tool.common.wizard.TBWizard |
addWizardPage, cancel, createButtonListener, getButtonPanel, getDeck, getInnerPanel, getLargeIcon, onFirstFocus, refreshButtons, setDeck, setLargeIcon |
Methods inherited from class org.enhydra.tool.common.DialogHandler |
addHelpListener, closeWindow, getOption, getProgressMeter, notifyHelpListeners, openProgress, removeHelpListener, setOption, showAbout, showDialog |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CodeGenWizard(CodeGen cg)
public CodeGenWizard() throws GeneratorException
Method Detail |
public static void main(java.lang.String[] args)
public boolean isAllowRootEdit()
isAllowRootEdit
in interface RootEditor
public void setAllowRootEdit(boolean allow)
setAllowRootEdit
in interface RootEditor
public java.io.File[] getGeneratedFiles()
public Generator[] getGenerators()
public void setCodeGen(CodeGen cd)
public CodeGen getCodeGen()
public Generator getSelection()
public void setSelection(Generator selection) throws GeneratorException
selection
- A generator containing option pages.
GeneratorException
- Thrown if unable to create option pages for the selection.public void back()
back
in class TBWizard
public void next()
next
in class TBWizard
public void finish()
finish
in class TBWizard
public static java.lang.String getDefaultTitle()
protected void clearAll()
TBWizard
clearAll
in class TBWizard
public java.lang.String getTitle()
getTitle
in class DialogHandler
protected java.lang.String getProgressTitle()
getProgressTitle
in class DialogHandler
public void addSelectionListener(GenSelectionListener l)
public void removeSelecitonListener(GenSelectionListener l)
|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |