public Tab Tab(Autodesk.Revit.UI.Tab systemTab)
 {
     return(new Tab(this, systemTab));
 }
 internal IEnumerable <RibbonPanel> GetRibbonPanels(Autodesk.Revit.UI.Tab systemTab)
 {
     return(ControlledApplication != null
                ? ControlledApplication.GetRibbonPanels(systemTab)
                : uiApplication.GetRibbonPanels(systemTab));
 }
 internal RibbonPanel CreateRibbonPanel(Autodesk.Revit.UI.Tab systemTab, string panelName)
 {
     return(ControlledApplication != null
                ? ControlledApplication.CreateRibbonPanel(systemTab, panelName)
                : uiApplication.CreateRibbonPanel(systemTab, panelName));
 }