Community
Participate
Working Groups
Papyrus shall provide a Rich Text Editor to be able to edit UML Comments (And other text elements). This editor shall support basic text-formatting properties, such as font, size, colors, ...
Created attachment 237778 [details] Extension of Rich text This extension supports more enhanced features for the requirements of Papyrus.
When using Papyrus for system modeling, i.e. as a way to describe a system then formatting possibilities of descriptive text are essential. For example bullet or numbered lists, headings, tables, bold-italic-underline characters etc are currently used in our model made by "other UML modeling tool". This modeling tool supports rich text editing and when the model is imported into Papyrus the tags are imported. But currently it seems that only a limited set of tags are interpreted by the diagram editor. Bold characters are shows in the diagram editor whereas italic isn't. The rich text editing capabilities should preferably work also on Diagram notes (support currently missing in Papyrus, see Bugzilla 438049) appart from in UML Comments.
Has been merged on an Extra plugin. Can be close.
> Has been merged on an Extra plugin. Can be close. I close the task
(In reply to Camille Letavernier from comment #4) > > Has been merged on an Extra plugin. Can be close. > > I close the task I find it a bit strange that this task be closed while only half of the work is done. I checked out the rich text integration extra plugin, and while the integration of the rich text editor in the property page for editing the comment body is working nicely (with support for links, images, and even HTML tables working in preview), the rendering by the comment figure itself on diagrams (as implemented by class org.eclipse.papyrus.uml.diagram.common.figure.node.HTMLCornerBentFigure) is very very limited, as noted by Robert Lundbäck in comment #2. Links and images could probably be implemented reasonable easily on top of draw2d.text (tables are probably much harder to do). I googled for existing draw2d.text-based HTML renderer, to no avail.. Too bad.