Plugins be placed in multiple locations in Studio.
First step is to create a class which inherits AbstractRibbonGroup:
[RibbonGroup("TmRibbonGroup", "Tm Anonymizer user guide")]
[RibbonGroupLayout(LocationByType = typeof(TranslationStudioDefaultRibbonTabs.HomeRibbonTabLocation))]
public class TmAnonymizerRibbonGroup : AbstractRibbonGroup
{
}
Second step is to create a Abstract Action:
[Action("Action Name", Name = "Help", Icon = "wiki", Description = "")]
[ActionLayout(typeof(TmAnonymizerRibbonGroup), 250, DisplayType.Large)]
public class TmAnonymizerHelpAction : AbstractAction
{
protected override void Execute()
{
}
}
On a ribbon group can be used multiple annotations. In the above example the plugin is placed in Home Tab.
Annotations for Ribbon tabs
1. Home Tab
[RibbonGroupLayout(LocationByType = typeof(TranslationStudioDefaultRibbonTabs.HomeRibbonTabLocation))]
2. Editor Review
[RibbonGroupLayout(LocationByType = typeof(TranslationStudioDefaultRibbonTabs.EditorReviewRibbonTabLocation))]
3. Editor
[RibbonGroupLayout(LocationByType = typeof(TranslationStudioDefaultRibbonTabs.EditorAdvancedRibbonTabLocation))]
4. Addins
[RibbonGroupLayout(LocationByType = typeof(StudioDefaultRibbonTabs.AddinsRibbonTabLocation))]
5. Help
[RibbonGroupLayout(LocationByType = typeof(StudioDefaultRibbonTabs.HelpRibbonTabLocation))]
6. View
[RibbonGroupLayout(LocationByType = typeof(StudioDefaultRibbonTabs.ViewRibbonTabLocation))]