Item Editor (use JPA)
Item Editor is a sample application of Eclipse RCP that generated by using Jalcedo JPA Entity Editor Generator.
It has basic functions of CRUD (create, read, update, delete). Item Editor edits Item model that has name and price property.
Data is preserved in the database specified with persistence.xml.
Requirements
Item Editor
Item View
This view displays Items as table. You can edit Items from new/edit/delete button.
Item Detail View
When new/edit button is clicked, system opens this view.
You can edit values of properties.
Class Diagram
How to use Item Editor
Installation
Install Jalcedo/examples. See also Installation.
Run Item Editor
- Select Window -> Show View -> Other -> JpaItemView
- Jpa Item View is opened.
Create an Item
- Click new button.
- Input name and price.
- Click OK.
- System creates new Item, and reflesh Item table view.
Update an Item
- Select Item.
- Click edit button.
- Edit name and price.
- Click OK.
- System edits the Item, and reflesh Item table view.
Delete an Item
- Select Item.
- Click delete button.
- System deletes the Item, and reflesh Item table view.
Attachments
- ItemEditor.png (18.2 kB) - added by koshi on 05/09/07 18:11:58.
- ItemDetailDialog.png (11.1 kB) - added by koshi on 05/09/07 18:12:08.


