public ComponentsFactory(IFileCreatorContainer fileCreatorContainer, IClassAppenderContainer classAppenderContainer, IAddinContainer addinContainer, IElementAttributeContainer attributesContainer) { _fileCreatorContainer = fileCreatorContainer; _classAppenderContainer = classAppenderContainer; _addinContainer = addinContainer; _attributesContainer = attributesContainer; }
public ucAddins(AddinsController addinsController, IAddinContainer[] addinContainers) { InitializeComponent(); m_AddinsController = addinsController; m_AddinContainers.AddRange(addinContainers); #if !WIN32 pnlOccultWatcherSettings.Visible = false; #else CheckOWIntegrationStatus(); #endif }
protected ClassGenerator(IClassBuilder classBuilder, IPropertyGenerator propertyGenerator, IAddinContainer container, string namespaceName) { _classBuilder = classBuilder; BaseUsings = new List <string> { "System", "OpenQA.Selenium", "System.Linq" }; ExtraProperties = new List <string>(); ExtraMethods = new List <string>(); Container = container; NamespaceName = namespaceName; PropertyGenerator = propertyGenerator; CtorBulk = new StringBuilder(); }
public frmTangraSettings( ILightCurveFormCustomizer lightCurveCustomizer, ISpectraViewFormCustomizer spectraViewCustomizer, IAdvStatusPopupFormCustomizer advPopupCustomizer, IAavStatusPopupFormCustomizer aavPopupCustomizer, AddinsController addinsController, IAddinContainer[] addinContainers, VideoController videoController) { InitializeComponent(); m_AddinsController = addinsController; m_AdvPopupCustomizer = advPopupCustomizer; m_AavPopupCustomizer = aavPopupCustomizer; m_AddinContainers = addinContainers; m_VideoController = videoController; InitAllPropertyPages(); TangraConfig.Load(ApplicationSettingsSerializer.Instance); ucCustomizeLightCurveViewer lightCurvesColoursPanel = m_PropertyPages.Select(kvp => kvp.Value).FirstOrDefault(x => x is ucCustomizeLightCurveViewer) as ucCustomizeLightCurveViewer; if (lightCurvesColoursPanel != null) lightCurvesColoursPanel.SetLightCurveFormCustomizer(lightCurveCustomizer); ucCustomizeSpectroscopy spectroscopyColoursPanel = m_PropertyPages.Select(kvp => kvp.Value).FirstOrDefault(x => x is ucCustomizeSpectroscopy) as ucCustomizeSpectroscopy; if (spectroscopyColoursPanel != null) spectroscopyColoursPanel.SetSpectraViewFormCustomizer(spectraViewCustomizer); ucADVSVideo12bit AdvsVideo12bitPanel = m_PropertyPages.Select(kvp => kvp.Value).FirstOrDefault(x => x is ucADVSVideo12bit) as ucADVSVideo12bit; if (AdvsVideo12bitPanel != null) AdvsVideo12bitPanel.SetAdvStatusPopupFormCustomizer(advPopupCustomizer); ucAAV8bit Aav8bitPanel = m_PropertyPages.Select(kvp => kvp.Value).FirstOrDefault(x => x is ucAAV8bit) as ucAAV8bit; if (Aav8bitPanel != null) Aav8bitPanel.SetAdvStatusPopupFormCustomizer(aavPopupCustomizer); foreach(SettingsPannel panel in m_PropertyPages.Values) panel.LoadSettings(); }
public ComponentGenerator(IClassBuilder builder, IPropertyGenerator propertyGenerator, IAddinContainer container, string namespaceName, string parentElementFieldName) : base(builder, propertyGenerator, container, namespaceName) { _parentElementFieldName = parentElementFieldName; }
public VisibleElementAttribute(IAddinContainer addinContainer) { _addinContainer = addinContainer; }
public ListClassAppender(IAddinContainer addinContainer) { _addinContainer = addinContainer; }