A. Michot, C. Ponsard, Q. Boucher, R. Michel, Doc2M Update your model from your document in a breeze !, EclipseCON France June 21-22, 2017
The Model-Driven Design approach is centered on the use of a model repository and a modelling tool. A drawback of the approach is that the evolution of derived artefacts (such as documents, code, tests) requires to go back to the model. This process involves tracing the source element back in the model editor before triggering the update of the artefact. This can reveal quite inefficient and even cause user rejection.
Our talk presents a reusable mechanism that enables a back channel from textual artefact to any EMF-based model. It efficiently supports the update process as well as other user stories such as the synchronised in-place editing (e.g. to directly fix typos from the document) and even concept creation (e.g. to support elicitation phase from some source documents and keep traceability)
Our main different features (locate, in-place edit, create) are first demonstrated in the scope of HTML and Word documents before detailing the technical architecture and the adaptation process for targeting specific EMF-based editors and target document viewers or editors.
Our work is still being elaborated to support a wider range of EMF-based tools (e.g. Sirius, Capella) and text processors (especially Open/LibreOffice) but it is already released for early trial on Github and under EPL licence.