~vcs-imports/monouml/trunk

« back to all changes in this revision

Viewing changes to src/Widgets/Tabs/UMLProperties/ExtensionEndViewer.cs

  • Committer: rodolfocampero
  • Date: 2007-07-25 15:20:48 UTC
  • Revision ID: vcs-imports@canonical.com-20070725152048-03z7yvqy4o5o9ata
Refactored UMLPropertiesTab in order to simplify adding new widgets. Now adding new widgets is less error prone.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
        public class ExtensionEndViewer : SingleOwnedElementViewer
27
27
        {
28
28
                public ExtensionEndViewer (IBroadcaster hub)
29
 
                        : base(hub, GettextCatalog.GetString ("Owned end:"), "OwnedEnd",
30
 
                                SingleOwnedElementViewer.MultiplicityKind.Mandatory)
 
29
                        : base(hub, GettextCatalog.GetString ("Owned end:"), typeof(UML.Extension),
 
30
                                "OwnedEnd", SingleOwnedElementViewer.MultiplicityKind.Mandatory)
31
31
                { }
32
32
 
33
33
                protected override void AssignOwnedElementValue(UML.Element element)