Skip to content

Releases: epsilonlabs/emc-cameo

Fix creation of enumeration literals

08 Mar 15:55
Compare
Choose a tag to compare

This release fixes one bug:

  • Type 'EnumerationLiteral' of model 'Model' cannot be instantiated #12

In addition, from this release, the update site includes source features to allow for easier debugging.

Add global search of profiles / stereotypes

12 Oct 10:36
Compare
Choose a tag to compare

New features:

  • Implemented Model.getProfiles(), Model.getProfile(uri) and Model.getStereotype(uri, name) to find profiles and stereotypes anywhere in the project (Profile.all and Stereotype.all only search within the primary model or the package indicated by the root element hyperlink, if set).

Improvements:

  • Avoid calling size() on lists when adding at the end.
  • Better error reporting when adding an incompatible element to a many-valued feature.

Bugfixes:

  • Dev tools: host and port are pre-filled when adding a new model to a launch configuration.

This version has been tested on:

  • MagicDraw 2021x
  • Cameo Systems Modeler 2021x
  • Cameo Systems Modeler 19.0 SP4

Add eContainingFeature, eContents, and eClass support

09 Oct 20:57
Compare
Choose a tag to compare

New features:

  • Support for modelElement.eClass (#6).
  • Support for modelElement.eContainingFeature and modelElement.eContents (#7).

This version has been tested on:

  • MagicDraw 2021x
  • Cameo Systems Modeler 2021x
  • Cameo Systems Modeler 19.0 SP4

Add eContainer support

26 Sep 09:07
5aeb1f7
Compare
Choose a tag to compare

This is a minor update, implementing one feature:

  • Add support for modelElement.eContainer, as in the standard EMF driver. (#5)

This version has been tested on:

  • MagicDraw 2021x
  • Cameo Systems Modeler 2021x
  • Cameo Systems Modeler 19.0 SP4

Add automated project opening/closing/saving

22 Sep 18:15
Compare
Choose a tag to compare

This version adds the following features:

  • If a project URL is set, the model driver will ensure it is opened and active upon loading.
  • Projects are automatically saved if "store on disposal" is set to true.
  • Whether the model has been saved or not, projects are automatically closed if "close on disposal" is set to true.

This version has been tested against:

  • MagicDraw 2021x
  • Cameo Systems Modeler 2021x
  • Cameo Systems Modeler 19.0 SP4

Add options for custom server host/port + root model element

06 Sep 15:44
b60ea9f
Compare
Choose a tag to compare

This version adds the following features:

  • Configuration options to customise the hostname and port that the gRPC server listens at, and that the EMC driver connects to.
  • Configuration option to set a custom "root element hyperlink" (as obtained from Cameo / MagicDraw by right-clicking on the package and selecting "Copy Element Hyperlink"), which will act as the virtual root of the model. Type.all queries will only return the model elements inside that package, and new Type will put the new instance inside that root element if it is a packageable element.

This is the first version that has been tested on demo versions of:

  • MagicDraw 2021x
  • Cameo Systems Modeler 2021x
  • Cameo Systems Modeler 19.0

First version with write support

28 Jul 20:20
Compare
Choose a tag to compare

This is the first version with the ability to write to MagicDraw:

  • Create and delete model elements.
  • Manipulate single-valued and multi-valued attributes and references.
  • Assign lists to multi-valued attributes.

In addition, a new type of distribution has been created: a self-contained archive with all the libraries needed to use the core Epsilon Ant tasks, the EMF Epsilon Ant tasks, and this driver. This distribution can be used with ant -lib /path/to/lib, after unzipping.

When fetching a multi-valued feature from a model element, the driver will now return a "proxy list" which is just a reference to the original list inside MagicDraw. Any list operations are delegated to MagicDraw's own list, to avoid issues around loss of sync between MagicDraw and the driver.

First version with read API

15 Jul 15:44
6260326
Compare
Choose a tag to compare
Pre-release

This is the first version of the driver. It only supports reading from a running MagicDraw/Cameo instance.

For installation instructions, please check the main README.