Search Results for

    Show / Hide Table of Contents

    Integrating Ribbon Groups

    The Desktop Integration API allows third-party developers to integrate custom UI ribbon groups into Trados Studio desktop applications.

    Example

    The following example demonstrates how to create a ribbon group in a Trados Studio application.

    • C#
    using Sdl.Desktop.IntegrationApi;
    using Sdl.Desktop.IntegrationApi.Extensions;
    using Sdl.TranslationStudioAutomation.IntegrationApi.Presentation;
    using Sdl.TranslationStudioAutomation.IntegrationApi.Presentation.DefaultLocations;
    
    namespace Actions.Sample
    {
        [RibbonGroup("MySampleRibbonGroup")]
        [RibbonGroupLayout(LocationByType = typeof(TranslationStudioDefaultRibbonTabs.HomeRibbonTabLocation))]    
        class MySampleRibbonGroup : AbstractRibbonGroup
        {        
        }    
    }
    
    Note

    Trados Studio Integration API provides a special location for plug-ins (see TranslationStudioDefaultRibbonTabs).

    To add UI elements to a ribbon group, see Creating actions or the Integrating actions sample.

    Important

    You must add at least one UI element to the ribbon group. Empty ribbon groups do not appear.

    Reference

    • AbstractRibbonGroup
    • RibbonGroupAttribute
    • RibbonGroupLayoutAttribute
    • TranslationStudioDefaultRibbonTabs
    • Improve this Doc
    In this article
    Back to top Generated by DocFX