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.

Papyrus Model Repositories: Creating New Models

Christian W. Damus

Last week, I introduced the in-progress integration of CDO model repositories into Papyrus for the Kepler release.  The starting point was migration of existing models from the Eclipse workspace into a repository.  But, what if you don't have models, yet?  Do you have to create them in the workspace first, then suck them into a repository?

Not any more!

The latest development on the cdo_kepler branch in Papyrus SVN has refactored the New Papyrus Model wizard to allow creation of models in either a repository or the workspace.  See the video after the break to take a tour.

The New Model Wizard implements all of the following scenarios for model repositories:

  • Create a new UML model, UML profile, or SysML model
  • Initialize a new Papyrus model (especially the diagrams) from an existing domain model (UML resource)
  • Choose a folder to contain the new model, which is pre-filled from the current workbench selection if possible

In the case where there isn't a workbench selection, or it doesn't provide the context of a workspace or repository in which to create the new model, a new initial page lets the user indicate in which persistent store (workspace or an available repository) to create the new model.

The same wizard implements the New Papyrus Project function, too.  But, as this is naturally workspace-centric, there is no equivalent for model repositories.

See bug 401197 for more code-level details.