1

Closed

Generalize class section definition

description

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 5:31 PM by Gummy35

comments

Gummy35 wrote Mar 30, 2008 at 5: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 5:31 PM

wrote Feb 2, 2013 at 12:23 AM

wrote May 13, 2013 at 6:53 PM