Releases: epsilonlabs/emc-cameo
Fix creation of enumeration literals
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
New features:
- Implemented
Model.getProfiles()
,Model.getProfile(uri)
andModel.getStereotype(uri, name)
to find profiles and stereotypes anywhere in the project (Profile.all
andStereotype.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
Add eContainer support
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
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
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, andnew 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
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
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.