~vcs-imports/monouml/trunk

« back to all changes in this revision

Viewing changes to src/Widgets/Tabs/UMLProperties/OwnedTemplateSignatureViewer.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 OwnedTemplateSignatureViewer : SingleOwnedElementViewer
27
27
        {
28
28
                public OwnedTemplateSignatureViewer (IBroadcaster hub)
29
 
                        : base(hub, GettextCatalog.GetString ("Owned template signature:"), 
30
 
                                "OwnedTemplateSignature", SingleOwnedElementViewer.MultiplicityKind.Optional)
 
29
                        : base(hub, GettextCatalog.GetString ("Owned template signature:"),
 
30
                                typeof(UML.TemplateableElement), "OwnedTemplateSignature",
 
31
                                SingleOwnedElementViewer.MultiplicityKind.Optional)
31
32
                { }
32
33
                
33
34
                protected override void AssignOwnedElementValue(UML.Element element)