Inheritance: MonoHotDraw.Figures.VStackFigure
Beispiel #1
0
    protected virtual void OnAddMemberGroupActionActivated(object sender, System.EventArgs e)
    {
        TypeMemberGroupFigure group = new TypeMemberGroupFigure("Methods");
        Pixbuf icon = RenderIcon("gtk-info", IconSize.Menu, "");

        for (int i=0; i<5; i++) {
            group.AddMember(icon, "int", string.Format("method{0}", i));
        }

        mhdcanvas.AddWithDragging(group);
    }
Beispiel #2
0
        protected virtual void CreateGroups()
        {
            fields = new TypeMemberGroupFigure(GettextCatalog.GetString("Fields"));
            properties = new TypeMemberGroupFigure(GettextCatalog.GetString("Properties"));
            methods = new TypeMemberGroupFigure(GettextCatalog.GetString("Methods"));
            events = new TypeMemberGroupFigure(GettextCatalog.GetString("Events"));

            AddMemberGroup(fields);
            AddMemberGroup(properties);
            AddMemberGroup(methods);
            AddMemberGroup(events);
        }
Beispiel #3
0
 protected override void CreateGroups()
 {
     fields = new TypeMemberGroupFigure(GettextCatalog.GetString("Fields"));
     AddMemberGroup(fields);
 }