Community
Participate
Working Groups
GMF WrapLabel implements the wrapping functionality, this should be refactored to use Gef's text layout instead of re-implmenting the functionality good starting point will be to take a look at the Gef's exmaple WYSIWYG
Created attachment 55793 [details] Patch for GMF Patch for GEF side.
Created attachment 55794 [details] Patch for GMF (including new WrapLabel) This patch is for GMF. Note typo, the previous patch was for GEF, not GMF.
Updated target milestone.
- Committed the new WrappingLabel, TextCompartmentEditPart, and TextDirectEditManager enhancements. I'll update the What's New for 2.1 section with some documentation. - Committed code in diagram.ui.tests plugin which will add a Label Drawer to the palette and a properties page for shapes with Labels so that the different settings available on a label are testable in some way.
Created attachment 80456 [details] Describes design, code changes, affects on clients, and migration I have attached a document which discusses the design, gives an overview of the changes made, and provides documentation for the clients on how to use the new WrappingLabel.
Presumably the code generator still (M3) needs enhancement to use WrappingLabel and so not generate numerous deprecations. Or does the document just need a section explaining how existing gmfgen files need upgrading?
Edward, you are correct -- the GMF code generation team still needs to adopt the new WrappingLabel. See Bug 206582 .
[target cleanup] 2.1 M3 was the original target milestone for this bug
[GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug