I think a good start would be a dialog poped up when DataMap OL
"Update" button is clicked. This will be consistent with how other
update buttons operate. Showing a similar dialog at the ObjEntity
level also seems like a good idea.
Adding a special button at the attribute/relationship level seems
like an overkill.
Andrus
On Apr 6, 2006, at 10:36 PM, Gentry, Michael ((Contractor)) wrote:
Where would we want to be able to set it?
On the DataMap Configuration pane there is already an "Update" button
for OL. Near as I can tell with casual testing, it un/sets the OL
settings on all the ObjEntities under itself. Would we want to hijack
this button to also un/set attributes/relationships to OL?
The ObjEntity Entity tab also has an OL checkbox, but no button. We
could add it there if you think it would be better. Or perhaps a
button
on the Attributes and Relationships tabs?
Thoughts?
Thanks,
/dev/mrg
-----Original Message-----
From: Andrus Adamchik [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 05, 2006 10:55 AM
To: [email protected]
Subject: Re: CAY-363
On Apr 5, 2006, at 6:25 PM, Gentry, Michael ((Contractor)) wrote:
The biggest headache is when you add a bunch of new attributes or
reverse engineer a schema. You want OL, but nothing is set and you
have
to manually go set everything. I love OL. Whenever I show someone a
little Cayenne demo, I *always* point out how sweet OL works.
Got it.
I might could look at what is involved, but I'm not a Swing guy, so
it could be
rough...
Up to you. If you decide to work on it, check the assignment status
in Jira, I will do the same to avoid duplication of work. Other
DataMap "Update" buttons are using Scope library - the dependency I
want to get rid of eventually. One class you that you may use as an
example is
"org.objectstyle.cayenne.modeler.dialog.objentity.EntitySyncController
"
that I checked in today.
Andrus