public void Init(SharedData sharedData) { m_sharedData = sharedData; m_treeViewLogicManager = new TreeViewLogicManager <ParameterInfo>(PersistanceManager.PARAMETERS_URLS_DIR, m_treeView, this); m_treeViewLogicManager.Init(); m_sharedData.Parameters = m_parameters; }
public void Init(SharedData sharedData) { SetVisibilityForName(false); m_sharedData = sharedData; m_sharedData.OnDataChanged += new EventHandler(OnSharedDataChanged); m_treeViewLogicManager = new TreeViewLogicManager <RequestInfo>(PersistanceManager.REQUESTS_URLS_DIR, m_treeView, this); m_treeViewLogicManager.Init(); cmbRequestMethod.SelectedIndex = 0; m_dirty = false; }
public void Init(SharedData sharedData) { authenticationStrategies.Add(ServerType.AGM, new AgmAuthenticationStrategy()); authenticationStrategies.Add(ServerType.NGA, new NgaAuthenticationStrategy()); authenticationStrategies.Add(ServerType.BO, new BoAuthenticationStrategy()); authenticationStrategies.Add(ServerType.ALM12_5, new Alm12_5AuthenticationStrategy()); authenticationStrategies.Add(ServerType.ALM12_0, new Alm12_0AuthenticationStrategy()); authenticationStrategies.Add(ServerType.Jenkins, new JenkinsAuthenticationStrategy()); m_sharedData = sharedData; m_treeViewLogicManager = new TreeViewLogicManager <ConnectionInfo>(PersistanceManager.CONNECTIONS_DIR, m_treeView, this); m_treeViewLogicManager.Init(); UpdateGetTokenUrl(); UpdatePasswordPlainText(); }