In one of my (Java) projects at work, we have an interface which represents the contents of a "savable window", which can be modified by the user, and where changes should be saved back to the underlying object when the user is done (usually indicated via an "OK" button).
The (vastly simplified) implementation looks like this:
/** Contains all
(
Read more... )