Hi folks,

I guess most of you haven't seen what I'm doing, but I thought I'd ask for some input via the mailing list since that's The Way It's Done Round Here. I am working on an Eclipse plugin which allows DB editing via Cayenne's object model and ROP.

There is a picture at [1] which shows the problem at hand. Using the Artist - Painting - Gallery DB, when a new Painting is created, its Gallery needs to be set. It can easily be set to a new Gallery, but I may want to set it to an existing one, which may not be displayed in the diagram. More generally, I need a way to set an object in the diagram to an instance which is already in the DB, but not yet displayed in the diagram. All the other processes are entirely visual at present, so I'm reluctant to add dialogs, but...

At the moment I think the best (read 'only practical') way to do it is via a wizard. The user selects a NamedQuery from the map, sets key/value parameters, and picks from the results.

I was wondering if anyone had any other ideas, or suggestions that would improve a process like that.

Cheers,

Marcel

[1] http://www.uow.edu.au/~mgordon/insert.png

Reply via email to