Package com.iizigo.db.editor
Class NewDBTransactionWizard
- java.lang.Object
-
- org.eclipse.jface.wizard.Wizard
-
- com.iizigo.project.NewWizard
-
- com.iizigo.db.editor.NewDBTransactionWizard
-
- All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider
,org.eclipse.jface.wizard.IWizard
,org.eclipse.ui.INewWizard
,org.eclipse.ui.IWorkbenchWizard
public class NewDBTransactionWizard extends NewWizard
Wizard to create a new Database.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
WIZARD_ID
The ID.-
Fields inherited from class com.iizigo.project.NewWizard
initSelectedParentFolder, lastViewer, model
-
-
Constructor Summary
Constructors Constructor Description NewDBTransactionWizard()
Creates the wizard.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPages()
Adds the extra required pages.boolean
canFinish()
Validates if wizard can finish.EditorDatabaseProps
getEditorDatabaseProps()
boolean
performFinish()
Finishes the dialog.-
Methods inherited from class com.iizigo.project.NewWizard
addPage, createNewFile, createNewFile, createNewFile, createNewFile, getInitSelectedFolderPath, init
-
Methods inherited from class org.eclipse.jface.wizard.Wizard
createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.jface.wizard.IWizard
createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
-
-
-
-
Method Detail
-
getEditorDatabaseProps
public EditorDatabaseProps getEditorDatabaseProps()
- Returns:
- the editorDatabaseProps
-
addPages
public void addPages()
Adds the extra required pages.- Specified by:
addPages
in interfaceorg.eclipse.jface.wizard.IWizard
- Overrides:
addPages
in classorg.eclipse.jface.wizard.Wizard
-
canFinish
public boolean canFinish()
Validates if wizard can finish.- Specified by:
canFinish
in interfaceorg.eclipse.jface.wizard.IWizard
- Overrides:
canFinish
in classorg.eclipse.jface.wizard.Wizard
-
performFinish
public boolean performFinish()
Finishes the dialog.- Specified by:
performFinish
in interfaceorg.eclipse.jface.wizard.IWizard
- Overrides:
performFinish
in classNewWizard
- Returns:
- true to indicate the finish request was accepted, and false to indicate that the finish request was refused.
-
-