Community
Participate
Working Groups
Created attachment 199964 [details] Screenshot for LineWidth issue. The LineWidth appearance property of a box symbol only applies to compartment separator lines, not to the box boundary. Look at attached screenshot, in which all box symbols (blocks, parts) have been given a LineWidth of 10.
In r5175 : - BorderNodeEditPart and NodeEditPart have been modified to support lineWidth modification - BorderNodeEditPart and NodeEditPart lineStyle support have been modified (improvement in refresh) - IPapyrusNodeFigure and PapyrusNodeFigure now support lineWidth modification Note that some complex figure (ex: Package) or figure that do not inherit from PapyrusNodeFigure have to be corrected. Note that the EditPart generated code mask setLineWidth() (and setLineType()) implementation. The code generator should be modified (either replace the implementation by a call to super class method or totally remove it) and diagrams regenerated, or diagrams manually modified.
(In reply to comment #1) > In r5175 : > - BorderNodeEditPart and NodeEditPart have been modified to support lineWidth > modification > - BorderNodeEditPart and NodeEditPart lineStyle support have been modified > (improvement in refresh) > - IPapyrusNodeFigure and PapyrusNodeFigure now support lineWidth modification Merge in trunk : r5181.
I wanted to check the fix, but unfortunately, the "Appearance" property tab does no more allow to set the line width of a symbol (only its line color)... Is that on purpose?
(In reply to comment #3) > I wanted to check the fix, but unfortunately, the "Appearance" property tab does > no more allow to set the line width of a symbol (only its line color)... Is that > on purpose? Yes, this is disabled in Papyrus until all diagrams support the feature.
Not able to reproduce the bug under Kepler M5
Reopening the bug. This works for SysML diagrams, but not for UML diagrams. In UML diagrams, the LineWidth appearance property of a box symbol only applies to compartment separator lines.
This works as expected in 1.1 I close the task