Difference between revisions of "JGuiGen Demo"

From lightwiki
Jump to: navigation, search
Line 10: Line 10:
 
## JGuiGenJars
 
## JGuiGenJars
 
## JGuiGenMisc - hsql text files, containing JGuiGenDB: Data_Dict, JGuiGen_i18n, UserLogData, CodesBank
 
## JGuiGenMisc - hsql text files, containing JGuiGenDB: Data_Dict, JGuiGen_i18n, UserLogData, CodesBank
 +
# classpath=".:"`echo *.jar | tr " " ":"`;
 +
# javac -classpath $classpath com/halepringle/standard/*.java com/halepringle/standard/XML/*.java com/halepringle/src/*.java JGuiGen.java
 
# vi JGuiGenIni.xml, add table name "Lead", add class name "Lead", add table model name "LeadTm"
 
# vi JGuiGenIni.xml, add table name "Lead", add class name "Lead", add table model name "LeadTm"
 
# launch db admin. sh ./runUtil.sh DatabaseManager
 
# launch db admin. sh ./runUtil.sh DatabaseManager
 
# cut and paste new table "Leads"
 
# cut and paste new table "Leads"
 
# cut and paste new columns: id, date, address
 
# cut and paste new columns: id, date, address
# run JGuiGen from the command line, classpath=".:"`echo *.jar | tr " " ":"`; java -cp $classpath JGuiGen
+
# run JGuiGen from the command line java -cp $classpath JGuiGen
 
# Basic flow ... start in the Data Dictionary
 
# Basic flow ... start in the Data Dictionary
 
## Check Data Dictionary, Leave Flags, Run Now
 
## Check Data Dictionary, Leave Flags, Run Now

Revision as of 04:37, 22 March 2006

Back to Main Page

  1. Assumed to have installed: sdk, eclipse 3.1.2
  2. download from cvs and show directory structure
    1. JGuiGenCode
    2. JGuiGenJars
    3. JGuiGenMisc - hsql text files, containing JGuiGenDB: Data_Dict, JGuiGen_i18n, UserLogData, CodesBank
  3. classpath=".:"`echo *.jar | tr " " ":"`;
  4. javac -classpath $classpath com/halepringle/standard/*.java com/halepringle/standard/XML/*.java com/halepringle/src/*.java JGuiGen.java
  5. vi JGuiGenIni.xml, add table name "Lead", add class name "Lead", add table model name "LeadTm"
  6. launch db admin. sh ./runUtil.sh DatabaseManager
  7. cut and paste new table "Leads"
  8. cut and paste new columns: id, date, address
  9. run JGuiGen from the command line java -cp $classpath JGuiGen
  10. Basic flow ... start in the Data Dictionary
    1. Check Data Dictionary, Leave Flags, Run Now
    2. Edit Data Dict ... Do a bunch of stuff for each column
    3. Generate Application
    4. Exit from the Internationalization causes a write
    5. Generate HTML (optional)
  11. Run the gui, show out-of-the-box features of the gui
    1. View, Add, Edit, Delete
    2. Search
    3. Oh, what's this? ... Reports!
    4. And more ...
      1. try closing a window
      2. try changing the row to edit
  12. wash, rinse, repeat 6,7,8 and 9 showing features
    1. Quickly adding a column
      1. ssn
      2. phone
      3. address
    2. Change validation error message and Test
    3. Internationalization
    4. Hot keys
    5. run test scripts against the gui
    6. show test script output
  13. launch eclipse