contact ME

Use this form to reach out to me.

Ask me about the software development consulting and vocal services that I can provide for your project.

Westboro
Ottawa, ON
Canada

I am an independent software development consultant, specializing in model-driven development with Eclipse technology, which has been a passion for the last ten years.  I am widely recognized for my high-quality output, timely delivery, and friendly and engaging manner.

I also happen to be a capable singer, performing sacred and secular works for choir and tenor solo from the renaissance to today.  If you are presenting vocal music in Ottawa, eastern Ontario, or west Québec, I can be your tenor.

Blog

An ad hoc record of Christian W. Damus's professional and personal activity.

For (Your) Eyes Only

Christian W. Damus

The M6 milestone of the Luna release of Eclipse Papyrus will provide some improvements in the handling of read-only model resources in the diagram editor, the Properties view, and the Model Explorer.

image.jpg

There are two main themes in the enhancement of read-only resources:

  • better protection against unwanted/inappropriate changes to read-only resources
  • treating all dependencies of the model open in the editor as read-only for usability reasons, even if they are managed in the Eclipse workspace

On the former subject, more of the editing tools (palette tools in the diagram editor, context menu actions in the explorer, property sheet widgets) are sensitive to read-only objects and disable editing functions on them. But, there are two classes of read-only object: those that can be made writable (in the workspace, by changing file permissions or checking out from source control) and those that cannot (e.g., library models deployed in Eclipse plug-ins). Editing actions are enabled on objects in resources that can be made writable subject to a user prompt to make them writable. If denied by the user, these operations do not proceed.

The other prong of this enhancement is considering models imported or otherwise referenced by the model opened in the editor as "libraries" and, therefore, read-only by default. This helps users to avoid editing operations that would change these resources which, because they also are in the workspace, could potentially be opened in their own editors, resulting in confusing conflicting edits in multiple editors.

See a brief demonstration of all these changes in the video below:

A demonstration of improvements to handling of read-only resources and model libraries in the M6 milestone of the Eclipse Papyrus project's Luna release.

For the grisly details of the internal implementation, see the discussion in bug 323802. Download and install the latest nightly build to try it out for yourself!