Bug 226361 - Potential Contribution: Editor Based CRUD Example
Summary: Potential Contribution: Editor Based CRUD Example
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P2 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-09 16:20 EDT by Tim Hollosy CLA
Modified: 2022-06-09 10:34 EDT (History)
4 users (show)

See Also:


Attachments
Plugins contribution (327.60 KB, application/octet-stream)
2008-04-11 09:32 EDT, Tim Hollosy CLA
no flags Details
1-0-compatible_bundles (326.07 KB, application/octet-stream)
2008-08-13 15:04 EDT, Tim Hollosy CLA
no flags Details
1-0-compatible_bundles (326.07 KB, application/octet-stream)
2008-08-13 15:04 EDT, Tim Hollosy CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Hollosy CLA 2008-04-09 16:20:15 EDT
We're interested in contributing an example to the project in the form of an editor based CRUD.

What should I attach? A zip of the projects?

Description
-----
We've got 2 views: A publisher view & a title view, both open their
respective editors.

From the publisher editor you may: Rename a publisher,
view/add/delete/update respective titles
From the title editor you may: Edit format/name, change publisher.

The editors also all use JFace Databinding and use TableViewers,
ComboViewers with JFace Databinding. As a consequence of using JFace
Databinding the entities must have JavaBeans PropertyChangeSupport,
for that reason our entities extend a BaseEntity class and have some
extra code in the setters to fire propertychange events.

The CRUD consists of 3 plugin projects:
com.weecode.app.comics : Base Plugin, sets up default perspective, has
the eclipse product
com.weecode.app.comics.model: Contains the entities, sets up the EMF, etc.
com.weecode.app.comics.ui: All the views & editors

Screenshot:
http://unvoiced.com/comics_crud_ss.png

Anon SVN:
http://weecode.com/EclipseLinkRcpCrud/
Comment 1 Tim Hollosy CLA 2008-04-11 09:32:59 EDT
Created attachment 95677 [details]
Plugins contribution

Here are the 3 plugins, this is ready to be reviewed by a committer and sent to IP.

I've named the 3 plugins:
org.eclipse.persistence.example.comicseditor
org.eclipse.persistence.example.comicseditor.ui
org.eclipse.persistence.example.comicseditor.model

I've also added all the proper liscence/copyright to the top of each class.
Comment 2 Doug Clarke CLA 2008-06-02 12:18:36 EDT
In order to contribute the code you will need to attach it directly. 
Comment 3 Tim Hollosy CLA 2008-06-02 12:42:43 EDT
(In reply to comment #2)
> In order to contribute the code you will need to attach it directly. 
> 

Hey Doug, in my previous comment I attached it. https://bugs.eclipse.org/bugs/attachment.cgi?id=95677
Comment 4 Tim Hollosy CLA 2008-08-13 15:04:42 EDT
Created attachment 109921 [details]
1-0-compatible_bundles

Here is an updated attachment that works with EL 1.0
Comment 5 Tim Hollosy CLA 2008-08-13 15:04:50 EDT
Created attachment 109922 [details]
1-0-compatible_bundles

Here is an updated attachment that works with EL 1.0
Comment 6 Doug Clarke CLA 2009-02-11 11:08:02 EST
I did not get this example in for 1.1 so I am deferring it to 1.1.X. the example when completed can go on the wiki since we currently do not ship the examples in the distributed zips.
Comment 7 Tim Hollosy CLA 2009-02-11 11:21:56 EST
Sounds good Doug, I've tried to keep it up to date.

I'm no longer doing RCP dev at my day job, but Jason and I will continue to maintain this example.

I'm doing Spring stuff now, maybe I'll contribute a Spring CRUD against the same DB.
Comment 8 Peter Krogh CLA 2009-11-27 13:54:11 EST
 This bug is being moved to Future where we can properly sort them all together based on community votes and severity. We will then assign them accordingly to future patch sets and releases.
Comment 9 Doug Clarke CLA 2009-11-27 13:55:34 EST
Deferring again to Future. Also reassigning to Shaun so he can compare its contents with his OSGi/RCP examples.
Comment 10 Peter Krogh CLA 2009-11-30 11:35:36 EST
Changing the priority of the bugs that have been recently triaged to future.  Targetting them to P2 will differentiate them from the P3s that have been triaged into future earlier.
Comment 11 Shaun Smith CLA 2012-07-16 11:18:14 EDT
Tim, I think you moved away from OSGi development some time ago and in the meantime the OSGi Enterprise spec defined a standard for JPA usage which is implemented by Gemini JPA with EclipseLink.  I think this contribution is obsolete.  If so, can we close this bug?
Comment 12 Eclipse Webmaster CLA 2022-06-09 10:34:13 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink