Пример #1
0
        public void Initialize(string siteName, string virtualPath)
        {
            var site = new BpmOnlineSite(_serverManager, siteName, virtualPath);

            _settings = new BpmOnlineSettings(site);
            BindSettings(_settings);
            _settings.Show();
            UpdateControlsByExtractJSFlug();
            UpdateControlsByExtractCSFlug();
        }
Пример #2
0
 private void BindSettings(BpmOnlineSettings settings)
 {
     settings.Add(new SessionTimeOutMinutes(edtSessionTimeOut));
     settings.Add(new WebSocketsPort(edtWebSocketsPort));
     settings.Add(new MaxEntityNameLength(edtMaxEntityNameLength));
     settings.Add(new ExtractJs(chbExtractJS));
     settings.Add(new JsPath(edtJSPath));
     settings.Add(new UncompressedCoreJs(chbUncompressedJS));
     settings.Add(new ExtractCs(chbExtractCS));
     settings.Add(new ExtractAllCsSources(chbExtractAllCSSources));
     settings.Add(new CsPath(edtCSPath));
     settings.Add(new LogPath(edtLogPath));
     settings.Add(new ApplicationName(edtApplicatinName));
     settings.Add(new SchedulerDb(chbSchedulerDb));
     // Legacy
     //settings.Add(new UseFlatPackage(chbUseFlatPackage));
     //settings.Add(new UsePackageVersions(chbUsePackageVersions));
     settings.Add(new DefWorkingCopyPath(edtDefWorkingCopyPath));
     settings.Add(new DefPackagesWorkingCopyPath(edtDefPackagesWorkingCopyPath));
     settings.Add(new SourceControlAuthPath(edtSourceControlAuthPath));
     settings.Add(new UseSvn(chbUseSvn));
 }