Grant Baillie wrote:

As an aside, it's unclear to me why we need the proxy in GridCellAttributeRenderer.Draw. Are we really about to change an event's attributes just by drawing it?


The problem is, when you're "drawing" the item on the screen, you want to get the changed attribute value, even if the dialog hasn't gone away.

i..e say I change the title from "old title" to "new title" causing the dialog box to pop up. You want the table to still show "new title" while the dialog is up. Otherwise, it looks like your change didn't take effect. If the user presses "cancel" then it can revert to the old value.

Alec

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "Dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/dev

Reply via email to