Generalize class section definition


Make the ClassControl sections a collection of section
Note : possible evolution : sections based on conditions (categorized by item Type, stereotype...)
Closed Mar 30, 2008 at 6:31 PM by Gummy35


Gummy35 wrote Mar 30, 2008 at 6:31 PM

An UML diagram element inherits UmlDesignerElement.
In the constructor, we register a context menu extension for the element.
We also override the AddSections method, to add our specific sections, specifying section name, header, binding, and the context menu for the section.

The sections are grouped using PropertyGrouperHelper.

For more details, see DesignerElements\PropertyGroupingHelper.cs, DesignerElements\UmlClassControl.cs, and DesignerElements\UmlDesignerElement.*

wrote Mar 30, 2008 at 6:31 PM

wrote Feb 2, 2013 at 1:23 AM

wrote May 13, 2013 at 7:53 PM