ch.sahits.codegen.ui.extensions
Class DBDefintionPage

java.lang.Object
  extended by ch.sahits.codegen.ui.extensions.DBDefintionPage

public final class DBDefintionPage
extends java.lang.Object

This class encapsules the extension point ch.sahits.codegen.java.connectionpage

Since:
1.1.0
Author:
Andi Hotz

Constructor Summary
DBDefintionPage()
           
 
Method Summary
static java.util.List<java.lang.String> classNames()
          Retrieve all registered class names
static java.util.List<Pair> getButtons()
          Retrieve a list of all Button Texts and tooltips registered
static BasicDBDefinitionPage getPage(int index, IBasicCodegenWizard callingWizard, java.lang.String imageURL)
          Retrive the DB definition page based on the selected index
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBDefintionPage

public DBDefintionPage()
Method Detail

getPage

public static BasicDBDefinitionPage getPage(int index,
                                            IBasicCodegenWizard callingWizard,
                                            java.lang.String imageURL)
                                     throws java.lang.Exception
Retrive the DB definition page based on the selected index

Parameters:
index - of the button in the list
callingWizard - wizard instance that calls that is needed to invoke the constructor of BasicDBDefinitionPage
imageURL - URL to the header image
Returns:
instance of a page
Throws:
java.lang.Exception - With reflection many errors are possible

getButtons

public static java.util.List<Pair> getButtons()
Retrieve a list of all Button Texts and tooltips registered

Returns:
List of Pairs of button text and tooltip

classNames

public static java.util.List<java.lang.String> classNames()
Retrieve all registered class names

Returns:
List of class names