Inheritance: SpaceClaim.AddInLibrary.RibbonButtonCapsule
Example #1
0
        public void Initialize()
        {
            var tab = new RibbonTabCapsule("Utilities", Resources.UtilitiesText, ribbonRoot);
            RibbonButtonCapsule button;
            RibbonGroupCapsule  group;

            group  = new RibbonGroupCapsule("Thread", Resources.ThreadsGroupText, tab, RibbonCollectionCapsule.LayoutOrientation.horizontal);
            button = new ThreadToolCapsule("Create", group, RibbonButtonCapsule.ButtonSize.large);

            group  = new RibbonGroupCapsule("Shapes", Resources.ApiGrooveGroupText, tab, RibbonCollectionCapsule.LayoutOrientation.horizontal);
            button = new ApiGrooveToolCapsule("ApiGroove", group, RibbonButtonCapsule.ButtonSize.large);

            group  = new RibbonGroupCapsule("Spheres", Resources.DistributeGroupText, tab, RibbonCollectionCapsule.LayoutOrientation.horizontal);
            button = new DistributeSpheresToolCapsule("Tool", group, RibbonButtonCapsule.ButtonSize.large);
        }
        public void Initialize()
        {
            var tab = new RibbonTabCapsule("Utilities", Resources.UtilitiesText, ribbonRoot);
            RibbonButtonCapsule button;
            RibbonGroupCapsule group;

            group = new RibbonGroupCapsule("Thread", Resources.ThreadsGroupText, tab, RibbonCollectionCapsule.LayoutOrientation.horizontal);
            button = new ThreadToolCapsule("Create", group, RibbonButtonCapsule.ButtonSize.large);

            group = new RibbonGroupCapsule("Shapes", Resources.ApiGrooveGroupText, tab, RibbonCollectionCapsule.LayoutOrientation.horizontal);
            button = new ApiGrooveToolCapsule("ApiGroove", group, RibbonButtonCapsule.ButtonSize.large);

            group = new RibbonGroupCapsule("Spheres", Resources.DistributeGroupText, tab, RibbonCollectionCapsule.LayoutOrientation.horizontal);
            button = new DistributeSpheresToolCapsule("Tool", group, RibbonButtonCapsule.ButtonSize.large);
        }