Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Papyrus/Mars Work Description/NewFeature/Modeling Assistants
Contents
Modeling Assistants Customization for UML Profiles
This page presents the requirements and design notes for Modeling Assistants in the diagram editors, customizable for DSMLs based on UML Profiles.
Requirements
The requirements for Modeling Assistants in the Papyrus diagram editors, addressable in the Mars release, are
- [done] R1 assistants provided by a diagram SHALL be described by a model
- [done] R2 the assistants model SHALL be initially generated ("seeded") from a UML Profile
- [omitted] bug 459510 R3 the assistants model SHOULD, as much as possible, be unified/aligned with the models for diagram palette customization and Model Explorer "new child" menu customization inasmuch as all three of these mechanisms are, in general terms, different manifestations of tools for creating new model elements
- R3.1 the modeling assistants SHALL provide the same "new child" menu as the Model Explorer in the context of diagrams
- R3.1.1 which MAY be further filtered by restrictions of the visualization
- R3.1 the modeling assistants SHALL provide the same "new child" menu as the Model Explorer in the context of diagrams
- [omitted] bug 459509 R4 a lightweight customization mechanism MAY be included that promotes "favourites" in the tool palette as modeling assistants
- [done] R5 hyperlinks and the hyperlink creation tool SHALL continue to be presented in the popup bar, in addition to the element creation tools specified by the assistant model
- [in progress] R6 the standard UML diagrams provided by Papyrus SHALL provide assistant models for core editing functionality
- R6.1 the assistant model for each diagram SHOULD be generated from the diagram's GMF Generator model, unless it can better be generated from the diagram's Chaos II element-types configuration model
Bugzilla
The main bugzilla enhancement item tracking progress of this feature is
Deferred requirements:
Demonstration Videos
The progress of development of this feature is recorded in a series of videos, here:
- First prototype of basic diagram assistants
- Defining element types for diagram assistants specific to a UML Profile
- Generation of diagram assistants model for a UML Profile targeting a particular diagram
- Generation of diagram assistants model for a UML Profile not targeting any particular diagram, but UML generally
- Generating a diagram assistants model for unprofiled UML, targeting a particular diagram's visual types
- Context-sensitive activation of diagram assistants for UML Profiles