Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mdt-papyrus.dev] Xtext editors for OCL

Hi

MDT/OCL 3.0.0M7 introduces four Xtext editors for OCL. For Helios these are 'examples'. For ?Indigo? they should mature to non-examples.

The EssentialOCL editor supports editing a single OCL expression and so may be useful within Papyrus pop-ups. The API to support resolution of references from expressions to the outer model has not been looked at., so if you can provide a Papyrus example that pops-up the editor on a model, I can help resolve the semantic API. If use of Xtext in pop-ups is difficult, no doubt the itemis team will help.

The CompleteOCL editor for OCL documents, and the OCLinEcore editor may be worth integrating as part of a larger environment.

[The fourth editor supports definition of the OCL 'standard' library.]

Behind the scenes the editors use a modeling-representation agnostic pivot model, so the OCLinEcore editor will acquire an OCLinUML sibling that adds richer class structure such as Associations to a textual representation of a model that will endeavour to use a formal syntax resembling the informal presentation characteristic of OMG specifications.

    Regards

        Ed Willink


Back to the top