Difference between revisions of "JGuiGen Lead Script"
From lightwiki
Vsingleton (Talk | contribs) (→The demo pre-script) |
Vsingleton (Talk | contribs) (→Generating a screen for the Lead table) |
||
Line 22: | Line 22: | ||
==== Generating a screen for the Lead table ==== | ==== Generating a screen for the Lead table ==== | ||
− | |||
# sh ./runUtil.sh DatabaseManager | # sh ./runUtil.sh DatabaseManager | ||
## type: "... Standalone" | ## type: "... Standalone" | ||
Line 36: | Line 35: | ||
## lastchangedby char(20) - for sanity and multi user functionality | ## lastchangedby char(20) - for sanity and multi user functionality | ||
## lastchangeddate timestamp default null - for validation and multi user functionality | ## lastchangeddate timestamp default null - for validation and multi user functionality | ||
− | # ./run.sh | + | # ./run.sh JGuiGen |
# Starting in the Data Dictionary Menu | # Starting in the Data Dictionary Menu | ||
## Mark Tables - place a check mark on the "Process Table" field for your new Lead Table | ## Mark Tables - place a check mark on the "Process Table" field for your new Lead Table | ||
Line 45: | Line 44: | ||
### Order | ### Order | ||
### Create Java | ### Create Java | ||
+ | # time ./build.sh | ||
+ | # classpath=".:"`echo lib/*.jar | tr " " ":"` | ||
+ | # java -cp $classpath com.halepringle.src.Lead | ||
==== The Lead Demo ==== | ==== The Lead Demo ==== |
Revision as of 03:31, 27 April 2006
Back to JGuiGen Demo
The demo pre-script
- ./rec.sh
- rm -rf ~vds/.java/
- cd ~vds/downloads
- rm -rf jguigen
- enter password
- cd ~vds/downloads
- If you have not checked out the code then:
- svn checkout https://svn.sourceforge.net/svnroot/jguigen/JGuiGen/trunk/ jguigen
- cd jguigen
- unzip JGuiGenMisc.zip
- time ./build.sh
- hide the panel
- xview JGuiGen_Screenshot.jpg & - Elegant CRUD
- maximize it
- rec -c 1 -d /dev/dsp -t wav -r 44100 - | lame -h - junk.mp3
- F8 start recording swf
Generating a screen for the Lead table
- sh ./runUtil.sh DatabaseManager
- type: "... Standalone"
- driver: JGuiGenDb
- Ok
- cut and paste new table "Lead"
- cut and paste the index
- discuss the table columns
- lead_ID integer identity
- lead_DATE timestamp
- lead_PHONE char(20)
- isremoved smallint - the deleted flag
- lastchangedby char(20) - for sanity and multi user functionality
- lastchangeddate timestamp default null - for validation and multi user functionality
- ./run.sh JGuiGen
- Starting in the Data Dictionary Menu
- Mark Tables - place a check mark on the "Process Table" field for your new Lead Table
- Check Data Dictionary, Leave Flags, Run Now
- Edit Data Dict ... Select the Lead table
- Generate Application
- Model
- Order
- Create Java
- time ./build.sh
- classpath=".:"`echo lib/*.jar | tr " " ":"`
- java -cp $classpath com.halepringle.src.Lead
The Lead Demo
- Compile and run the new gui
- time ./build.sh
- show out-of-the-box features of the gui
- View, Add, Edit, Delete ... right click duplicate
- Search for some rows
- Oh ... what's this? ... Reports!
- try closing a window after a change
- try changing the row to edit after a change
- wash, rinse, repeat ?, ?, ?, and ? showing features
- Quickly adding a column, such as: ssn, phone, address
- Internationalization
- Hot keys
- Change validation error message and Test
- blast the coffee cup
- run test scripts against the gui
- show test script output
- launch eclipse