예제 #1
0
        public GithubManage(InterfaceInfra intInf)
        {
            _intInf = intInf;

            InitializeComponent();
            Init();
        }
예제 #2
0
        private void Init()
        {
            _intInf = new InterfaceInfra(WORKING_DIRECTORY);

            InitRibbon();
            InitSheet();
        }
 public BitbucketAdapter(InterfaceInfra intInf)
 {
     _techno = TECHNO.BITBUCKET;
     _type   = AdapterType.BitbucketAdapter;
     _parent = intInf;
     _sheet  = intInf.Sheet;
     Init();
 }
예제 #4
0
        public ViewWelcome(InterfaceInfra intInfra)
        {
            this.Paint += ViewWelcome_Paint;

            _intInfra = intInfra;
            InitializeComponent();
            Init();
        }
예제 #5
0
 public DockerAdapter(InterfaceInfra parent)
 {
     _techno = TECHNO.DOCKER;
     _type   = AdapterType.DockerAdapter;
     _parent = parent;
     Init();
     //_docker = new Boot2Docker();
 }
        public void RefreshData(InterfaceInfra intInf)
        {
            //this.Panels.Clear();

            if (_panelInfra == null)
            {
                BuildPanelInfra();
            }

            foreach (var adapter in intInf.InfraFarm.Adapters)
            {
                switch (adapter.Type)
                {
                case AdapterType.BitbucketAdapter:
                    if (_panelBitbucket == null)
                    {
                        BuildPanelBitbucket();
                    }
                    break;

                case AdapterType.ComputerAdapter:
                    if (_panelComputer == null)
                    {
                        BuildPanelComputer();
                    }
                    break;

                case AdapterType.DockerAdapter:
                    if (_panelDocker == null)
                    {
                        BuildPanelDocker();
                    }
                    break;

                case AdapterType.GitHubAdapter:
                    if (_panelGitHub == null)
                    {
                        BuildPanelGitHub();
                    }
                    break;

                case AdapterType.JenkinsAdapter:
                    if (_panelJenkins == null)
                    {
                        BuildPanelJenkins();
                    }
                    break;

                case AdapterType.JiraAdapter:
                    if (_panelJira == null)
                    {
                        BuildPanelJira();
                    }
                    break;

                case AdapterType.SonarAdapter:
                    if (_panelSonar == null)
                    {
                        BuildPanelSonar();
                    }
                    break;

                case AdapterType.SyncanyAdapter:
                    if (_panelSyncany == null)
                    {
                        BuildPanelSyncany();
                    }
                    break;

                case AdapterType.TeamCityAdapter:
                    if (_panelTeamCity == null)
                    {
                        BuildPanelTeamCity();
                    }
                    break;

                case AdapterType.OpenVpnAdapter:
                    if (_panelVPN == null)
                    {
                        BuildPanelVPN();
                    }
                    break;

                case AdapterType.PostGreAdapter:
                    if (_panelPostgresql == null)
                    {
                        BuildPanelPostGreSql();
                    }
                    break;

                case AdapterType.YoutrackAdapter:
                    if (_panelYoutrack == null)
                    {
                        BuildPanelYoutrack();
                    }
                    break;

                case AdapterType.SqlAdapter:
                case AdapterType.MysqlAdapter:
                default:
                    break;
                }
            }

            //_syncanySynchro.Image = intInf.InfraSyncany.SynchronisationRunning ? Tools.Utilities.UI.Resources.ResourceIconSet32Default.control_pause : Tools.Utilities.UI.Resources.ResourceIconSet32Default.control_play;
            //_syncanySynchro.SmallImage = intInf.InfraSyncany.SynchronisationRunning ? Tools.Utilities.UI.Resources.ResourceIconSet16Default.control_pause : Tools.Utilities.UI.Resources.ResourceIconSet16Default.control_play;
        }
 public ViewInfraOverview(InterfaceInfra intInfra)
 {
     _intInfra = intInfra;
     InitializeComponent();
 }
예제 #8
0
 public GitHubUserDetail(InterfaceInfra intInf)
 {
     _intInf = intInf;
     InitializeComponent();
     Init();
 }
예제 #9
0
 public ViewInfraAdapter(InterfaceInfra intInfra)
 {
     _intInfra = intInfra;
     InitializeComponent();
     Init();
 }
예제 #10
0
 public GitHubIssue(InterfaceInfra intInf)
 {
     _intInf       = intInf;
     _repositories = new List <string>();
     InitializeComponent();
 }