5 protected SCR_AddonsExportSubMenuComponent m_ExportSubMenu;
8 override void OnMenuOpen()
15 m_Widgets.m_NavCopyComponent.m_OnActivated.Insert(OnClickCopy);
16 m_Widgets.m_TabViewRootComponent.GetOnChanged().Insert(OnTabChanged);
22 protected void OnClickCopy()
25 m_ExportSubMenu.CopyToClipboard();
29 protected void GenerateModContent()
32 SCR_AddonsExportSubMenuComponent subMenu = SubMenuFromTab(
m_Widgets.m_TabViewRootComponent, 0);
34 subMenu.GenerateJSONFormat();
40 SCR_AddonsExportSubMenuComponent subMenu = SubMenuFromTab(tabView,
id);
45 m_ExportSubMenu = subMenu;
51 subMenu.GenerateJSONFormat();
57 subMenu.GenerateCLIFormat();
69 SCR_TabViewContent content = tabView.GetEntryContent(
id);
73 Widget w = content.m_wTab;
77 return SCR_AddonsExportSubMenuComponent.Cast(w.FindHandler(SCR_AddonsExportSubMenuComponent));