예제 #1
0
        public WelcomeWizard(AddInSettings settings)
        {
            InitializeComponent();
            m_settings            = settings;
            wizard1.CancelEnabled = false;

            envGroupMaven2   = lstEnvironment.Groups.Add("Maven 2", "Maven 2");
            envGroupJava     = lstEnvironment.Groups.Add("Java 5", "Java 5");
            envGroupUmlTools = lstEnvironment.Groups.Add("UML Tools", "UML Tools");
            //envGroupMaven1 = lstEnvironment.Groups.Add("Maven 1 (optional)", "Maven 1 (optional)");

            itemMaven2Install     = new Maven2InstallCheck(envGroupMaven2);
            itemMaven2SettingsXml = new Maven2SettingsCheck(envGroupMaven2, m_settings);
            itemJavaHome          = new JavaHomeCheck(envGroupJava);
            itemJRE       = new JRECheck(envGroupJava);
            itemMagicDraw = new UmlModelerCheck(envGroupUmlTools, m_settings);
            //itemMaven1Install = new Maven1InstallCheck(envGroupMaven1);
            //itemMavenHomeCheck = new MavenHomeCheck(envGroupMaven1);
            //itemMaven1BuildProperties = new Maven1SettingsCheck(envGroupMaven1, m_settings);

            lstEnvironment.Items.AddRange(new ListViewItem[] {
                itemMaven2Install,
                itemMaven2SettingsXml,
                itemJavaHome,
                itemJRE,
                itemMagicDraw
                //itemMavenHomeCheck,
                //itemMaven1Install,
                //itemMaven1BuildProperties,
            });
        }
예제 #2
0
        public WelcomeWizard(AddInSettings settings)
        {
            InitializeComponent();
            m_settings = settings;
            wizard1.CancelEnabled = false;

            envGroupMaven2 = lstEnvironment.Groups.Add("Maven 2", "Maven 2");
            envGroupJava = lstEnvironment.Groups.Add("Java 5", "Java 5");
            envGroupUmlTools = lstEnvironment.Groups.Add("UML Tools", "UML Tools");
            //envGroupMaven1 = lstEnvironment.Groups.Add("Maven 1 (optional)", "Maven 1 (optional)");

            itemMaven2Install = new Maven2InstallCheck(envGroupMaven2);
            itemMaven2SettingsXml = new Maven2SettingsCheck(envGroupMaven2, m_settings);
            itemJavaHome = new JavaHomeCheck(envGroupJava);
            itemJRE = new JRECheck(envGroupJava);
            itemMagicDraw = new UmlModelerCheck(envGroupUmlTools, m_settings);
            //itemMaven1Install = new Maven1InstallCheck(envGroupMaven1);
            //itemMavenHomeCheck = new MavenHomeCheck(envGroupMaven1);
            //itemMaven1BuildProperties = new Maven1SettingsCheck(envGroupMaven1, m_settings);

            lstEnvironment.Items.AddRange(new ListViewItem[] {
                itemMaven2Install,
                itemMaven2SettingsXml,
                itemJavaHome,
                itemJRE,
                itemMagicDraw
                //itemMavenHomeCheck,
                //itemMaven1Install,
                //itemMaven1BuildProperties,
            });
        }