Search Results for

    Show / Hide Table of Contents

    Integrating ribbon groups

    Desktop Integration API provides support for third-party developers to integrate UI ribbon groups inside the Trados Studio desktop applications.

    Integrating ribbon groups

    The following example demonstrates how to create a ribbon group into 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 provide a special location for the plug-ins (see: TranslationStudioDefaultRibbonTabs).

    For information on how to add UI items inside a ribbon group, read about the actions. (see: Creating actions or check the sample Integrating actions)

    Note

    If there are no UI elements added inside the ribbon group, it will not be visible.

    See Also

    Reference

    AbstractViewPartController

    ViewPartAttribute

    ViewPartLayoutAttribute

    TranslationStudioDefaultRibbonTabs

    • Improve this Doc

    On this page

    Back to top Generated by DocFX