From: Chris M. <cm...@us...> - 2006-05-27 22:31:47
|
User: cmicali Date: 06/05/27 15:31:46 Modified: etc/andromda-dotnet/AndroMDA.VS80AddIn AndroMDA VS2005 Add-In Readme.rtf etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn AndroMDA.VS80AddIn.csproj WizardSolutionProcessor.cs etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Dialogs MDAProjectSetupControl.cs MDAProjectSetupControl.designer.cs MDASolutionWizard.cs MDASolutionWizard.designer.cs MDASolutionWizard.resx etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Resources/Lib AndroMDA.NHibernateSupport.dll etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Utils VSSolutionUtils.cs Log: - Cleaned up solution wizard - Added web project generation to the solution wizard Revision Changes Path No revision No revision No revision No revision 1.8 +1 -0 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn.csproj Index: AndroMDA.VS80AddIn.csproj =================================================================== RCS file: /cvsroot/andromdaplugins/plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn.csproj,v retrieving revision 1.7 retrieving revision 1.8 diff -u -w -r1.7 -r1.8 --- AndroMDA.VS80AddIn.csproj 27 May 2006 15:05:58 -0000 1.7 +++ AndroMDA.VS80AddIn.csproj 27 May 2006 22:31:46 -0000 1.8 @@ -44,6 +44,7 @@ <Reference Include="System.Windows.Forms" /> <Reference Include="System.Xml" /> <Reference Include="VSLangProj, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> + <Reference Include="VsWebSite.Interop, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> </ItemGroup> <ItemGroup> <Compile Include="AssemblyInfo.cs"> 1.3 +43 -5 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/WizardSolutionProcessor.cs Index: WizardSolutionProcessor.cs =================================================================== RCS file: /cvsroot/andromdaplugins/plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/WizardSolutionProcessor.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -u -w -r1.2 -r1.3 --- WizardSolutionProcessor.cs 3 May 2006 20:23:05 -0000 1.2 +++ WizardSolutionProcessor.cs 27 May 2006 22:31:46 -0000 1.3 @@ -92,6 +92,7 @@ Project commonProject = null; Project coreProject = null; Project schemaExportProject = null; + Project webProject = null; // Create/find the common project if (m_configuration["projects.common.create"] == "true") @@ -149,6 +150,28 @@ schemaExportProject.ProjectItems.AddFromFile(basePath + "\\" + m_configuration["projects.schemaexport.dir"] + "\\Program.cs"); } + // Create the schema export project + if (m_configuration["projects.web.create"] == "true") + { + AddToStatus("Creating web project " + m_configuration["projects.web.name"] + "..."); + webProject = VSSolutionUtils.AddWebProjectToSolution(m_configuration["projects.web.name"], (Solution2)m_applicationObject.Solution); + /* + WriteFile(basePath + "\\" + m_configuration["projects.schemaexport.dir"] + "\\App.config", ParseVariables(Resource1.SchemaExport_App_config)); + WriteFile(basePath + "\\" + m_configuration["projects.schemaexport.dir"] + "\\nhibernate.config", ParseVariables(Resource1.SchemaExport_nhibernate_config)); + WriteFile(basePath + "\\" + m_configuration["projects.schemaexport.dir"] + "\\Program.cs", ParseVariables(Resource1.SchemaExport_Program_cs)); + ProjectItem appConfig = schemaExportProject.ProjectItems.AddFromFile(basePath + "\\" + m_configuration["projects.schemaexport.dir"] + "\\App.config"); + ProjectItem nhibernateConfig = schemaExportProject.ProjectItems.AddFromFile(basePath + "\\" + m_configuration["projects.schemaexport.dir"] + "\\nhibernate.config"); + + // Set the config files 'Copy to Output Directory' property to 'Copy if Newer' + appConfig.Properties.Item("CopyToOutputDirectory").Value = 2; + appConfig.Properties.Item("BuildAction").Value = VSLangProj.prjBuildAction.prjBuildActionContent; + nhibernateConfig.Properties.Item("CopyToOutputDirectory").Value = 2; + nhibernateConfig.Properties.Item("BuildAction").Value = VSLangProj.prjBuildAction.prjBuildActionContent; + + schemaExportProject.ProjectItems.AddFromFile(basePath + "\\" + m_configuration["projects.schemaexport.dir"] + "\\Program.cs"); + */ + } + // Render /maven.xml WriteFile(basePath + "\\maven.xml", ParseVariables(Resource1.maven_xml)); // Render /project.properties @@ -191,10 +214,11 @@ WriteFile(basePath + "\\Lib\\NHibernate.dll", Resource1.lib_NHibernate_dll); WriteFile(basePath + "\\Lib\\NHibernate.Nullables2.dll", Resource1.lib_NHibernate_Nullables2_dll); - AddToStatus("Adding project references..."); // Add the references to all the DLLs we just put in /Lib + AddToStatus("Adding project references to common project..."); AddBinaryReferences(commonProject, basePath); + AddToStatus("Adding project references to core project..."); AddBinaryReferences(coreProject, basePath); // Add a reference from the core project to the common project @@ -203,6 +227,7 @@ // If we created the schema export project if (schemaExportProject != null) { + AddToStatus("Adding project references to schema export project..."); // Add the references to the DLLs AddBinaryReferences(schemaExportProject, basePath); @@ -211,6 +236,19 @@ AddProjectReference(schemaExportProject, coreProject); } + if (webProject != null) + { + AddToStatus("Adding project references to web project..."); + + VsWebSite.VSWebSite proj = webProject.Object as VsWebSite.VSWebSite; + + proj.References.AddFromFile(basePath + "\\Lib\\AndroMDA.NHibernateSupport.dll"); + + proj.References.AddFromProject(commonProject); + proj.References.AddFromProject(coreProject); + + } + } #region Helper methods 1.2 +2 -2 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Dialogs/MDAProjectSetupControl.cs Index: MDAProjectSetupControl.cs =================================================================== RCS file: /cvsroot/andromdaplugins/plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Dialogs/MDAProjectSetupControl.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -w -r1.1 -r1.2 --- MDAProjectSetupControl.cs 18 Apr 2006 16:14:44 -0000 1.1 +++ MDAProjectSetupControl.cs 27 May 2006 22:31:46 -0000 1.2 @@ -28,7 +28,7 @@ #endregion #region Properties - + /* [Category("Appearance")] [LocalizableAttribute(true)] [BindableAttribute(true)] @@ -46,7 +46,7 @@ get { return lblDescription.Text; } set { lblDescription.Text = value; } } - + */ public bool CreateNewProject { get { return rbCreate.Checked; } 1.2 +63 -96 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Dialogs/MDAProjectSetupControl.designer.cs Index: MDAProjectSetupControl.designer.cs =================================================================== RCS file: /cvsroot/andromdaplugins/plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Dialogs/MDAProjectSetupControl.designer.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -w -r1.1 -r1.2 --- MDAProjectSetupControl.designer.cs 18 Apr 2006 16:14:44 -0000 1.1 +++ MDAProjectSetupControl.designer.cs 27 May 2006 22:31:46 -0000 1.2 @@ -30,11 +30,8 @@ { this.ddlExistingProject = new System.Windows.Forms.ComboBox(); this.txtNewProject = new System.Windows.Forms.TextBox(); - this.lblDescription = new System.Windows.Forms.Label(); this.rbExisting = new System.Windows.Forms.RadioButton(); this.rbCreate = new System.Windows.Forms.RadioButton(); - this.groupBox1 = new System.Windows.Forms.GroupBox(); - this.lblTitle = new System.Windows.Forms.Label(); this.SuspendLayout(); // // ddlExistingProject @@ -42,32 +39,25 @@ this.ddlExistingProject.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.ddlExistingProject.Enabled = false; this.ddlExistingProject.FormattingEnabled = true; - this.ddlExistingProject.Location = new System.Drawing.Point(32, 120); + this.ddlExistingProject.Location = new System.Drawing.Point(18, 66); this.ddlExistingProject.Name = "ddlExistingProject"; this.ddlExistingProject.Size = new System.Drawing.Size(320, 21); this.ddlExistingProject.TabIndex = 6; // // txtNewProject // - this.txtNewProject.Location = new System.Drawing.Point(32, 74); + this.txtNewProject.Location = new System.Drawing.Point(18, 20); this.txtNewProject.Name = "txtNewProject"; this.txtNewProject.Size = new System.Drawing.Size(320, 20); this.txtNewProject.TabIndex = 4; // - // lblDescription - // - this.lblDescription.Location = new System.Drawing.Point(11, 21); - this.lblDescription.Name = "lblDescription"; - this.lblDescription.Size = new System.Drawing.Size(507, 26); - this.lblDescription.TabIndex = 2; - this.lblDescription.Text = "<description>"; - // // rbExisting // this.rbExisting.AutoSize = true; - this.rbExisting.Location = new System.Drawing.Point(14, 99); + this.rbExisting.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); + this.rbExisting.Location = new System.Drawing.Point(0, 45); this.rbExisting.Name = "rbExisting"; - this.rbExisting.Size = new System.Drawing.Size(117, 17); + this.rbExisting.Size = new System.Drawing.Size(138, 17); this.rbExisting.TabIndex = 5; this.rbExisting.Text = "Use existing project"; this.rbExisting.UseVisualStyleBackColor = true; @@ -77,46 +67,26 @@ // this.rbCreate.AutoSize = true; this.rbCreate.Checked = true; - this.rbCreate.Location = new System.Drawing.Point(14, 54); + this.rbCreate.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); + this.rbCreate.Location = new System.Drawing.Point(0, 0); this.rbCreate.Name = "rbCreate"; - this.rbCreate.Size = new System.Drawing.Size(114, 17); + this.rbCreate.Size = new System.Drawing.Size(133, 17); this.rbCreate.TabIndex = 3; this.rbCreate.TabStop = true; this.rbCreate.Text = "Create new project"; this.rbCreate.UseVisualStyleBackColor = true; this.rbCreate.CheckedChanged += new System.EventHandler(this.checkChanged); // - // groupBox1 - // - this.groupBox1.Location = new System.Drawing.Point(32, 3); - this.groupBox1.Name = "groupBox1"; - this.groupBox1.Size = new System.Drawing.Size(486, 7); - this.groupBox1.TabIndex = 1; - this.groupBox1.TabStop = false; - // - // lblTitle - // - this.lblTitle.AutoSize = true; - this.lblTitle.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblTitle.Location = new System.Drawing.Point(3, 2); - this.lblTitle.Name = "lblTitle"; - this.lblTitle.Size = new System.Drawing.Size(48, 13); - this.lblTitle.TabIndex = 0; - this.lblTitle.Text = "<title>"; - // // MDAProjectSetupControl // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.lblTitle); - this.Controls.Add(this.groupBox1); this.Controls.Add(this.ddlExistingProject); this.Controls.Add(this.txtNewProject); - this.Controls.Add(this.lblDescription); this.Controls.Add(this.rbExisting); this.Controls.Add(this.rbCreate); this.Name = "MDAProjectSetupControl"; - this.Size = new System.Drawing.Size(529, 156); + this.Size = new System.Drawing.Size(369, 99); this.ResumeLayout(false); this.PerformLayout(); @@ -126,10 +96,7 @@ private System.Windows.Forms.ComboBox ddlExistingProject; private System.Windows.Forms.TextBox txtNewProject; - private System.Windows.Forms.Label lblDescription; private System.Windows.Forms.RadioButton rbExisting; private System.Windows.Forms.RadioButton rbCreate; - private System.Windows.Forms.GroupBox groupBox1; - private System.Windows.Forms.Label lblTitle; } } 1.4 +70 -10 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Dialogs/MDASolutionWizard.cs Index: MDASolutionWizard.cs =================================================================== RCS file: /cvsroot/andromdaplugins/plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Dialogs/MDASolutionWizard.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -u -w -r1.3 -r1.4 --- MDASolutionWizard.cs 3 May 2006 20:23:06 -0000 1.3 +++ MDASolutionWizard.cs 27 May 2006 22:31:46 -0000 1.4 @@ -75,7 +75,9 @@ usrCommonProject.ProjectName = solutionName + ".Common"; usrCoreProject.ProjectName = solutionName + ".Core"; txtSchemaExportProject.Text = solutionName + ".SchemaExport"; + txtWebProject.Text = solutionName + ".Web"; cbCreateSchemaExport.Checked = true; + cbCreateWebProject.Checked = false; // Give the wizard a reference to this form so it can // set this.AcceptButton to the Next button @@ -93,6 +95,11 @@ txtSchemaExportProject.Enabled = cbCreateSchemaExport.Checked; } + private void cbCreateWebProject_CheckedChanged(object sender, EventArgs e) + { + txtWebProject.Enabled = cbCreateWebProject.Checked; + } + /// <summary> /// Fired when the confirm choices screen of the wizard is shown. /// </summary> @@ -115,6 +122,16 @@ lblGenerateSchemaExportProject.Text = "No"; lblSchemaExportProject.Text = "n/a"; } + if (cbCreateWebProject.Checked) + { + lblGenerateWebProject.Text = "Yes"; + lblWebProject.Text = txtWebProject.Text; + } + else + { + lblGenerateWebProject.Text = "No"; + lblWebProject.Text = "n/a"; + } } /// <summary> @@ -244,6 +261,43 @@ } /// <summary> + /// Handles the CloseFromNext event of the wizardPageWebProject control. + /// </summary> + /// <param name="sender">The source of the event.</param> + /// <param name="e">The <see cref="T:Gui.Wizard.PageEventArgs"/> instance containing the event data.</param> + private void wizardPageWebProject_CloseFromNext(object sender, Gui.Wizard.PageEventArgs e) + { + bool v1 = true; + if (cbCreateWebProject.Checked) + { + v1 = ValidationUtils.ValidateRequiredTextBox(txtWebProject); + } + bool pageValid = v1; + if (!pageValid) + { + e.Page = wizardPageWebProject; + } + } + + /// <summary> + /// Handles the ShowFromNext event of the wizardPageWebProject control. + /// </summary> + /// <param name="sender">The source of the event.</param> + /// <param name="e">The <see cref="T:System.EventArgs"/> instance containing the event data.</param> + private void wizardPageWebProject_ShowFromNext(object sender, EventArgs e) + { + if (cbCreateWebProject.Checked) + { + txtWebProject.Focus(); + } + else + { + cbCreateWebProject.Focus(); + } + } + + + /// <summary> /// Handles the ShowFromNext event of the wizardPageSolutionInfo control. /// </summary> /// <param name="sender">The source of the event.</param> @@ -287,9 +341,15 @@ config["projects.schemaexport.dir"] = txtSchemaExportProject.Text; config["projects.schemaexport.create"] = cbCreateSchemaExport.Checked ? "true" : "false"; + config["projects.web.name"] = txtWebProject.Text; + config["projects.web.dir"] = txtWebProject.Text; + config["projects.web.create"] = cbCreateWebProject.Checked ? "true" : "false"; + config["database.name"] = txtApplicationName.Text.Replace(" ", string.Empty).Replace(".", string.Empty); - // TODO: Support more database types + config["solution.path"] = VSSolutionUtils.GetSolutionPath(m_applicationObject.Solution); + + // TODO: Support all database types that NHibernate supports switch (ddlDatabaseType.SelectedItem.ToString()) { case "Microsoft SQL Server": @@ -317,9 +377,9 @@ config["hibernate.connection.driver_class"] = "NHibernate.Driver.OracleClientDriver"; break; } - config["solution.path"] = VSSolutionUtils.GetSolutionPath(m_applicationObject.Solution); return config; + } /// <summary> @@ -364,14 +424,15 @@ m_solutionManager.OnSolutionOpened(); AddStatusText("Processing complete."); txtErrorMessage.Visible = false; - lblFinishPageTitle.ImageIndex = 0; + lblFinishPageTitleImage.ImageIndex = 0; } else { lblFinishPageTitle.Text = "Solution Update Error"; - lblFinishPageDescription.Text = errorMessage; - lblFinishPageTitle.ImageIndex = 1; + lblFinishPageDescription.Visible = false; + lblFinishPageTitleImage.ImageIndex = 1; txtErrorMessage.Visible = true; + txtErrorMessage.Text = errorMessage; } wizard1.NextEnabled = true; wizard1.Next(); @@ -391,6 +452,5 @@ System.Threading.Thread.Sleep(0); } - } } \ No newline at end of file 1.2 +801 -760 plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Dialogs/MDASolutionWizard.designer.cs Index: MDASolutionWizard.designer.cs =================================================================== RCS file: /cvsroot/andromdaplugins/plugins/etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Dialogs/MDASolutionWizard.designer.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -w -r1.1 -r1.2 --- MDASolutionWizard.designer.cs 18 Apr 2006 16:14:44 -0000 1.1 +++ MDASolutionWizard.designer.cs 27 May 2006 22:31:46 -0000 1.2 @@ -31,74 +31,77 @@ this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MDASolutionWizard)); this.wizard1 = new Gui.Wizard.Wizard(); - this.wizardPageProcessing = new Gui.Wizard.WizardPage(); - this.lstStatus = new System.Windows.Forms.ListBox(); - this.label7 = new System.Windows.Forms.Label(); - this.header5 = new Gui.Wizard.Header(); - this.pictureBoxThrobber = new System.Windows.Forms.PictureBox(); + this.wizardPageWelcome = new Gui.Wizard.WizardPage(); + this.label9 = new System.Windows.Forms.Label(); + this.label8 = new System.Windows.Forms.Label(); + this.pictureBoxWelcome = new System.Windows.Forms.PictureBox(); + this.wizardPageSolutionInfo = new Gui.Wizard.WizardPage(); + this.ddlDatabaseType = new System.Windows.Forms.ComboBox(); + this.txtApplicationVersion = new System.Windows.Forms.TextBox(); + this.label17 = new System.Windows.Forms.Label(); + this.label14 = new System.Windows.Forms.Label(); + this.txtApplicationName = new System.Windows.Forms.TextBox(); + this.label12 = new System.Windows.Forms.Label(); + this.header6 = new Gui.Wizard.Header(); + this.wizardPageCommonProject = new Gui.Wizard.WizardPage(); + this.usrCommonProject = new AndroMDA.VS80AddIn.Dialogs.MDAProjectSetupControl(); + this.header1 = new Gui.Wizard.Header(); + this.wizardPageCoreProject = new Gui.Wizard.WizardPage(); + this.header2 = new Gui.Wizard.Header(); + this.usrCoreProject = new AndroMDA.VS80AddIn.Dialogs.MDAProjectSetupControl(); + this.wizardPageSchemaExportProject = new Gui.Wizard.WizardPage(); + this.cbCreateSchemaExport = new System.Windows.Forms.CheckBox(); + this.txtSchemaExportProject = new System.Windows.Forms.TextBox(); + this.lblDescription = new System.Windows.Forms.Label(); + this.header3 = new Gui.Wizard.Header(); + this.wizardPageWebProject = new Gui.Wizard.WizardPage(); + this.cbCreateWebProject = new System.Windows.Forms.CheckBox(); + this.txtWebProject = new System.Windows.Forms.TextBox(); + this.header7 = new Gui.Wizard.Header(); this.wizardPageConfirmChoices = new Gui.Wizard.WizardPage(); + this.lblWebProject = new System.Windows.Forms.Label(); this.lblSchemaExportProject = new System.Windows.Forms.Label(); + this.lblGenerateWebProject = new System.Windows.Forms.Label(); this.lblGenerateSchemaExportProject = new System.Windows.Forms.Label(); this.lblDatabaseType = new System.Windows.Forms.Label(); this.lblApplicationVersion = new System.Windows.Forms.Label(); this.lblCoreProject = new System.Windows.Forms.Label(); this.lblApplicationName = new System.Windows.Forms.Label(); this.lblCommonProject = new System.Windows.Forms.Label(); + this.label20 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label18 = new System.Windows.Forms.Label(); this.label16 = new System.Windows.Forms.Label(); + this.label19 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label15 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); - this.label2 = new System.Windows.Forms.Label(); - this.label1 = new System.Windows.Forms.Label(); - this.groupBox2 = new System.Windows.Forms.GroupBox(); this.header4 = new Gui.Wizard.Header(); - this.wizardPageSchemaExportProject = new Gui.Wizard.WizardPage(); - this.cbCreateSchemaExport = new System.Windows.Forms.CheckBox(); - this.lblTitle = new System.Windows.Forms.Label(); - this.groupBox1 = new System.Windows.Forms.GroupBox(); - this.txtSchemaExportProject = new System.Windows.Forms.TextBox(); - this.lblDescription = new System.Windows.Forms.Label(); - this.header3 = new Gui.Wizard.Header(); - this.wizardPageCoreProject = new Gui.Wizard.WizardPage(); - this.header2 = new Gui.Wizard.Header(); - this.usrCoreProject = new AndroMDA.VS80AddIn.Dialogs.MDAProjectSetupControl(); - this.wizardPageCommonProject = new Gui.Wizard.WizardPage(); - this.usrCommonProject = new AndroMDA.VS80AddIn.Dialogs.MDAProjectSetupControl(); - this.header1 = new Gui.Wizard.Header(); - this.wizardPageSolutionInfo = new Gui.Wizard.WizardPage(); - this.ddlDatabaseType = new System.Windows.Forms.ComboBox(); - this.txtApplicationVersion = new System.Windows.Forms.TextBox(); - this.label17 = new System.Windows.Forms.Label(); - this.label14 = new System.Windows.Forms.Label(); - this.txtApplicationName = new System.Windows.Forms.TextBox(); - this.label12 = new System.Windows.Forms.Label(); - this.label13 = new System.Windows.Forms.Label(); - this.groupBox3 = new System.Windows.Forms.GroupBox(); - this.header6 = new Gui.Wizard.Header(); - this.wizardPageWelcome = new Gui.Wizard.WizardPage(); - this.label9 = new System.Windows.Forms.Label(); - this.label8 = new System.Windows.Forms.Label(); - this.pictureBoxWelcome = new System.Windows.Forms.PictureBox(); + this.wizardPageProcessing = new Gui.Wizard.WizardPage(); + this.lstStatus = new System.Windows.Forms.ListBox(); + this.label7 = new System.Windows.Forms.Label(); + this.header5 = new Gui.Wizard.Header(); + this.pictureBoxThrobber = new System.Windows.Forms.PictureBox(); this.wizardPageComplete = new Gui.Wizard.WizardPage(); this.pictureBoxComplete = new System.Windows.Forms.PictureBox(); this.lblFinishPageDescription = new System.Windows.Forms.Label(); - this.lblFinishPageTitle = new System.Windows.Forms.Label(); + this.lblFinishPageTitleImage = new System.Windows.Forms.Label(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.txtErrorMessage = new System.Windows.Forms.TextBox(); + this.lblFinishPageTitle = new System.Windows.Forms.Label(); this.wizard1.SuspendLayout(); + this.wizardPageWelcome.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxWelcome)).BeginInit(); + this.wizardPageSolutionInfo.SuspendLayout(); + this.wizardPageCommonProject.SuspendLayout(); + this.wizardPageCoreProject.SuspendLayout(); + this.wizardPageSchemaExportProject.SuspendLayout(); + this.wizardPageWebProject.SuspendLayout(); + this.wizardPageConfirmChoices.SuspendLayout(); this.wizardPageProcessing.SuspendLayout(); this.header5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBoxThrobber)).BeginInit(); - this.wizardPageConfirmChoices.SuspendLayout(); - this.wizardPageSchemaExportProject.SuspendLayout(); - this.wizardPageCoreProject.SuspendLayout(); - this.wizardPageCommonProject.SuspendLayout(); - this.wizardPageSolutionInfo.SuspendLayout(); - this.wizardPageWelcome.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBoxWelcome)).BeginInit(); this.wizardPageComplete.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBoxComplete)).BeginInit(); this.SuspendLayout(); @@ -109,6 +112,7 @@ this.wizard1.Controls.Add(this.wizardPageComplete); this.wizard1.Controls.Add(this.wizardPageProcessing); this.wizard1.Controls.Add(this.wizardPageConfirmChoices); + this.wizard1.Controls.Add(this.wizardPageWebProject); this.wizard1.Controls.Add(this.wizardPageSchemaExportProject); this.wizard1.Controls.Add(this.wizardPageCoreProject); this.wizard1.Controls.Add(this.wizardPageCommonProject); @@ -124,6 +128,7 @@ this.wizardPageCommonProject, this.wizardPageCoreProject, this.wizardPageSchemaExportProject, + this.wizardPageWebProject, this.wizardPageConfirmChoices, this.wizardPageProcessing, this.wizardPageComplete}); @@ -131,267 +136,210 @@ this.wizard1.TabIndex = 0; this.wizard1.Load += new System.EventHandler(this.wizard1_Load); // - // wizardPageProcessing - // - this.wizardPageProcessing.Controls.Add(this.lstStatus); - this.wizardPageProcessing.Controls.Add(this.label7); - this.wizardPageProcessing.Controls.Add(this.header5); - this.wizardPageProcessing.Dock = System.Windows.Forms.DockStyle.Fill; - this.wizardPageProcessing.IsFinishPage = false; - this.wizardPageProcessing.Location = new System.Drawing.Point(0, 0); - this.wizardPageProcessing.Name = "wizardPageProcessing"; - this.wizardPageProcessing.Size = new System.Drawing.Size(525, 297); - this.wizardPageProcessing.TabIndex = 6; - this.wizardPageProcessing.ShowFromNext += new System.EventHandler(this.wizardPageProcessing_ShowFromNext); - // - // lstStatus - // - this.lstStatus.FormattingEnabled = true; - this.lstStatus.Location = new System.Drawing.Point(12, 100); - this.lstStatus.Name = "lstStatus"; - this.lstStatus.Size = new System.Drawing.Size(501, 186); - this.lstStatus.TabIndex = 9; - // - // label7 - // - this.label7.AutoSize = true; - this.label7.Location = new System.Drawing.Point(12, 77); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(273, 13); - this.label7.TabIndex = 8; - this.label7.Text = "Updating solution to support AndroMDA. Please wait..."; - // - // header5 - // - this.header5.BackColor = System.Drawing.SystemColors.Control; - this.header5.CausesValidation = false; - this.header5.Controls.Add(this.pictureBoxThrobber); - this.header5.Description = "Processing Solution..."; - this.header5.Dock = System.Windows.Forms.DockStyle.Top; - this.header5.Image = ((System.Drawing.Image)(resources.GetObject("header5.Image"))); - this.header5.Location = new System.Drawing.Point(0, 0); - this.header5.Name = "header5"; - this.header5.Size = new System.Drawing.Size(525, 65); - this.header5.TabIndex = 6; - this.header5.Title = "AndroMDA Solution Wizard"; - // - // pictureBoxThrobber + // wizardPageWelcome // - this.pictureBoxThrobber.BackColor = System.Drawing.Color.White; - this.pictureBoxThrobber.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxThrobber.Image"))); - this.pictureBoxThrobber.Location = new System.Drawing.Point(8, 40); - this.pictureBoxThrobber.Name = "pictureBoxThrobber"; - this.pictureBoxThrobber.Size = new System.Drawing.Size(31, 22); - this.pictureBoxThrobber.TabIndex = 10; - this.pictureBoxThrobber.TabStop = false; + this.wizardPageWelcome.BackColor = System.Drawing.Color.White; + this.wizardPageWelcome.Controls.Add(this.label9); + this.wizardPageWelcome.Controls.Add(this.label8); + this.wizardPageWelcome.Controls.Add(this.pictureBoxWelcome); + this.wizardPageWelcome.Dock = System.Windows.Forms.DockStyle.Fill; + this.wizardPageWelcome.IsFinishPage = false; + this.wizardPageWelcome.Location = new System.Drawing.Point(0, 0); + this.wizardPageWelcome.Name = "wizardPageWelcome"; + this.wizardPageWelcome.Size = new System.Drawing.Size(525, 297); + this.wizardPageWelcome.TabIndex = 1; // - // wizardPageConfirmChoices + // label9 // - this.wizardPageConfirmChoices.Controls.Add(this.lblSchemaExportProject); - this.wizardPageConfirmChoices.Controls.Add(this.lblGenerateSchemaExportProject); - this.wizardPageConfirmChoices.Controls.Add(this.lblDatabaseType); - this.wizardPageConfirmChoices.Controls.Add(this.lblApplicationVersion); - this.wizardPageConfirmChoices.Controls.Add(this.lblCoreProject); - this.wizardPageConfirmChoices.Controls.Add(this.lblApplicationName); - this.wizardPageConfirmChoices.Controls.Add(this.lblCommonProject); - this.wizardPageConfirmChoices.Controls.Add(this.label6); - this.wizardPageConfirmChoices.Controls.Add(this.label18); - this.wizardPageConfirmChoices.Controls.Add(this.label16); - this.wizardPageConfirmChoices.Controls.Add(this.label5); - this.wizardPageConfirmChoices.Controls.Add(this.label15); - this.wizardPageConfirmChoices.Controls.Add(this.label4); - this.wizardPageConfirmChoices.Controls.Add(this.label3); - this.wizardPageConfirmChoices.Controls.Add(this.label2); - this.wizardPageConfirmChoices.Controls.Add(this.label1); - this.wizardPageConfirmChoices.Controls.Add(this.groupBox2); - this.wizardPageConfirmChoices.Controls.Add(this.header4); - this.wizardPageConfirmChoices.Dock = System.Windows.Forms.DockStyle.Fill; - this.wizardPageConfirmChoices.IsFinishPage = false; - this.wizardPageConfirmChoices.Location = new System.Drawing.Point(0, 0); - this.wizardPageConfirmChoices.Name = "wizardPageConfirmChoices"; - this.wizardPageConfirmChoices.Size = new System.Drawing.Size(525, 297); - this.wizardPageConfirmChoices.TabIndex = 5; - this.wizardPageConfirmChoices.ShowFromNext += new System.EventHandler(this.wizardPageConfirmChoices_ShowFromNext); + this.label9.Location = new System.Drawing.Point(174, 61); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(339, 220); + this.label9.TabIndex = 9; + this.label9.Text = resources.GetString("label9.Text"); // - // lblSchemaExportProject + // label8 // - this.lblSchemaExportProject.AutoSize = true; - this.lblSchemaExportProject.Location = new System.Drawing.Point(242, 256); - this.lblSchemaExportProject.Name = "lblSchemaExportProject"; - this.lblSchemaExportProject.Size = new System.Drawing.Size(23, 13); - this.lblSchemaExportProject.TabIndex = 26; - this.lblSchemaExportProject.Text = "n/a"; + this.label8.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.label8.FlatStyle = System.Windows.Forms.FlatStyle.System; + this.label8.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label8.Location = new System.Drawing.Point(170, 9); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(304, 48); + this.label8.TabIndex = 8; + this.label8.Text = "Welcome to the AndroMDA Solution Wizard"; // - // lblGenerateSchemaExportProject + // pictureBoxWelcome // - this.lblGenerateSchemaExportProject.AutoSize = true; - this.lblGenerateSchemaExportProject.Location = new System.Drawing.Point(242, 237); - this.lblGenerateSchemaExportProject.Name = "lblGenerateSchemaExportProject"; - this.lblGenerateSchemaExportProject.Size = new System.Drawing.Size(20, 13); - this.lblGenerateSchemaExportProject.TabIndex = 26; - this.lblGenerateSchemaExportProject.Text = "No"; + this.pictureBoxWelcome.Dock = System.Windows.Forms.DockStyle.Left; + this.pictureBoxWelcome.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxWelcome.Image"))); + this.pictureBoxWelcome.Location = new System.Drawing.Point(0, 0); + this.pictureBoxWelcome.Name = "pictureBoxWelcome"; + this.pictureBoxWelcome.Size = new System.Drawing.Size(164, 297); + this.pictureBoxWelcome.TabIndex = 1; + this.pictureBoxWelcome.TabStop = false; // - // lblDatabaseType + // wizardPageSolutionInfo // - this.lblDatabaseType.AutoSize = true; - this.lblDatabaseType.Location = new System.Drawing.Point(242, 180); - this.lblDatabaseType.Name = "lblDatabaseType"; - this.lblDatabaseType.Size = new System.Drawing.Size(50, 13); - this.lblDatabaseType.TabIndex = 26; - this.lblDatabaseType.Text = "unknown"; + this.wizardPageSolutionInfo.Controls.Add(this.ddlDatabaseType); + this.wizardPageSolutionInfo.Controls.Add(this.txtApplicationVersion); + this.wizardPageSolutionInfo.Controls.Add(this.label17); + this.wizardPageSolutionInfo.Controls.Add(this.label14); + this.wizardPageSolutionInfo.Controls.Add(this.txtApplicationName); + this.wizardPageSolutionInfo.Controls.Add(this.label12); + this.wizardPageSolutionInfo.Controls.Add(this.header6); + this.wizardPageSolutionInfo.Dock = System.Windows.Forms.DockStyle.Fill; + this.wizardPageSolutionInfo.IsFinishPage = false; + this.wizardPageSolutionInfo.Location = new System.Drawing.Point(0, 0); + this.wizardPageSolutionInfo.Name = "wizardPageSolutionInfo"; + this.wizardPageSolutionInfo.Size = new System.Drawing.Size(525, 297); + this.wizardPageSolutionInfo.TabIndex = 8; + this.wizardPageSolutionInfo.CloseFromNext += new Gui.Wizard.PageEventHandler(this.wizardPageSolutionInfo_CloseFromNext); + this.wizardPageSolutionInfo.ShowFromBack += new System.EventHandler(this.wizardPageSolutionInfo_ShowFromNext); + this.wizardPageSolutionInfo.ShowFromNext += new System.EventHandler(this.wizardPageSolutionInfo_ShowFromNext); // - // lblApplicationVersion + // ddlDatabaseType // - this.lblApplicationVersion.AutoSize = true; - this.lblApplicationVersion.Location = new System.Drawing.Point(242, 161); - this.lblApplicationVersion.Name = "lblApplicationVersion"; - this.lblApplicationVersion.Size = new System.Drawing.Size(50, 13); - this.lblApplicationVersion.TabIndex = 26; - this.lblApplicationVersion.Text = "unknown"; + this.ddlDatabaseType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.ddlDatabaseType.FormattingEnabled = true; + this.ddlDatabaseType.Items.AddRange(new object[] { + "Microsoft SQL Server", + "MySQL", + "Oracle 9i", + "Hypersonic"}); + this.ddlDatabaseType.Location = new System.Drawing.Point(15, 187); + this.ddlDatabaseType.Name = "ddlDatabaseType"; + this.ddlDatabaseType.Size = new System.Drawing.Size(320, 21); + this.ddlDatabaseType.TabIndex = 2; // - // lblCoreProject + // txtApplicationVersion // - this.lblCoreProject.AutoSize = true; - this.lblCoreProject.Location = new System.Drawing.Point(242, 218); - this.lblCoreProject.Name = "lblCoreProject"; - this.lblCoreProject.Size = new System.Drawing.Size(28, 13); - this.lblCoreProject.TabIndex = 26; - this.lblCoreProject.Text = "core"; + this.txtApplicationVersion.Location = new System.Drawing.Point(15, 141); + this.txtApplicationVersion.Name = "txtApplicationVersion"; + this.txtApplicationVersion.Size = new System.Drawing.Size(320, 21); + this.txtApplicationVersion.TabIndex = 1; // - // lblApplicationName + // label17 // - this.lblApplicationName.AutoSize = true; - this.lblApplicationName.Location = new System.Drawing.Point(242, 142); - this.lblApplicationName.Name = "lblApplicationName"; - this.lblApplicationName.Size = new System.Drawing.Size(50, 13); - this.lblApplicationName.TabIndex = 26; - this.lblApplicationName.Text = "unknown"; + this.label17.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label17.Location = new System.Drawing.Point(12, 168); + this.label17.Name = "label17"; + this.label17.Size = new System.Drawing.Size(507, 16); + this.label17.TabIndex = 29; + this.label17.Text = "Which database will your application use?"; // - // lblCommonProject + // label14 // - this.lblCommonProject.AutoSize = true; - this.lblCommonProject.Location = new System.Drawing.Point(242, 199); - this.lblCommonProject.Name = "lblCommonProject"; - this.lblCommonProject.Size = new System.Drawing.Size(46, 13); - this.lblCommonProject.TabIndex = 26; - this.lblCommonProject.Text = "common"; + this.label14.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label14.Location = new System.Drawing.Point(12, 123); + this.label14.Name = "label14"; + this.label14.Size = new System.Drawing.Size(507, 16); + this.label14.TabIndex = 29; + this.label14.Text = "What is the version number of your application? (Example: 1.1-Release)"; // - // label6 + // txtApplicationName // - this.label6.AutoSize = true; - this.label6.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label6.Location = new System.Drawing.Point(97, 256); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(139, 13); - this.label6.TabIndex = 25; - this.label6.Text = "Schema Export Project:"; + this.txtApplicationName.BackColor = System.Drawing.SystemColors.Window; + this.txtApplicationName.Location = new System.Drawing.Point(15, 97); + this.txtApplicationName.Name = "txtApplicationName"; + this.txtApplicationName.Size = new System.Drawing.Size(320, 21); + this.txtApplicationName.TabIndex = 0; // - // label18 + // label12 // - this.label18.AutoSize = true; - this.label18.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label18.Location = new System.Drawing.Point(141, 180); - this.label18.Name = "label18"; - this.label18.Size = new System.Drawing.Size(95, 13); - this.label18.TabIndex = 25; - this.label18.Text = "Database Type:"; + this.label12.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label12.Location = new System.Drawing.Point(12, 79); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(507, 16); + this.label12.TabIndex = 29; + this.label12.Text = "What is the name of your application? (Example: Time Tracker)"; // - // label16 + // header6 // - this.label16.AutoSize = true; - this.label16.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label16.Location = new System.Drawing.Point(118, 161); - this.label16.Name = "label16"; - this.label16.Size = new System.Drawing.Size(118, 13); - this.label16.TabIndex = 25; - this.label16.Text = "Application Version:"; + this.header6.BackColor = System.Drawing.SystemColors.Control; + this.header6.CausesValidation = false; + this.header6.Description = "Please enter the general information about your applicaiton."; + this.header6.Dock = System.Windows.Forms.DockStyle.Top; + this.header6.Image = ((System.Drawing.Image)(resources.GetObject("header6.Image"))); + this.header6.Location = new System.Drawing.Point(0, 0); + this.header6.Name = "header6"; + this.header6.Size = new System.Drawing.Size(525, 65); + this.header6.TabIndex = 26; + this.header6.Title = "Application Information"; // - // label5 + // wizardPageCommonProject // - this.label5.AutoSize = true; - this.label5.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label5.Location = new System.Drawing.Point(41, 237); - this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(195, 13); - this.label5.TabIndex = 25; - this.label5.Text = "Generate Schema Export Project:"; + this.wizardPageCommonProject.Controls.Add(this.usrCommonProject); + this.wizardPageCommonProject.Controls.Add(this.header1); + this.wizardPageCommonProject.Dock = System.Windows.Forms.DockStyle.Fill; + this.wizardPageCommonProject.IsFinishPage = false; + this.wizardPageCommonProject.Location = new System.Drawing.Point(0, 0); + this.wizardPageCommonProject.Name = "wizardPageCommonProject"; + this.wizardPageCommonProject.Size = new System.Drawing.Size(525, 297); + this.wizardPageCommonProject.TabIndex = 2; + this.wizardPageCommonProject.CloseFromNext += new Gui.Wizard.PageEventHandler(this.wizardPageCommonProject_CloseFromNext); + this.wizardPageCommonProject.ShowFromNext += new System.EventHandler(this.wizardPageCommonProject_ShowFromNext); // - // label15 + // usrCommonProject // - this.label15.AutoSize = true; - this.label15.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label15.Location = new System.Drawing.Point(128, 142); - this.label15.Name = "label15"; - this.label15.Size = new System.Drawing.Size(108, 13); - this.label15.TabIndex = 25; - this.label15.Text = "Application Name:"; + this.usrCommonProject.Location = new System.Drawing.Point(12, 79); + this.usrCommonProject.Name = "usrCommonProject"; + this.usrCommonProject.ProjectName = ""; + this.usrCommonProject.Size = new System.Drawing.Size(384, 156); + this.usrCommonProject.TabIndex = 0; // - // label4 + // header1 // - this.label4.AutoSize = true; - this.label4.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label4.Location = new System.Drawing.Point(156, 218); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(80, 13); - this.label4.TabIndex = 25; - this.label4.Text = "Core Project:"; + this.header1.BackColor = System.Drawing.SystemColors.Control; + this.header1.CausesValidation = false; + this.header1.Description = "The common project contains value objects, enumerations, and other non-entity cla" + + "sses that are generated from your model."; + this.header1.Dock = System.Windows.Forms.DockStyle.Top; + this.header1.Image = ((System.Drawing.Image)(resources.GetObject("header1.Image"))); + this.header1.Location = new System.Drawing.Point(0, 0); + this.header1.Name = "header1"; + this.header1.Size = new System.Drawing.Size(525, 65); + this.header1.TabIndex = 0; + this.header1.Title = "Common Project"; // - // label3 + // wizardPageCoreProject // - this.label3.AutoSize = true; - this.label3.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label3.Location = new System.Drawing.Point(132, 199); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(104, 13); - this.label3.TabIndex = 25; - this.label3.Text = "Common Project:"; + this.wizardPageCoreProject.Controls.Add(this.header2); + this.wizardPageCoreProject.Controls.Add(this.usrCoreProject); + this.wizardPageCoreProject.Dock = System.Windows.Forms.DockStyle.Fill; + this.wizardPageCoreProject.IsFinishPage = false; + this.wizardPageCoreProject.Location = new System.Drawing.Point(0, 0); + this.wizardPageCoreProject.Name = "wizardPageCoreProject"; + this.wizardPageCoreProject.Size = new System.Drawing.Size(525, 297); + this.wizardPageCoreProject.TabIndex = 3; + this.wizardPageCoreProject.CloseFromNext += new Gui.Wizard.PageEventHandler(this.wizardPageCoreProject_CloseFromNext); + this.wizardPageCoreProject.ShowFromNext += new System.EventHandler(this.wizardPageCoreProject_ShowFromNext); // - // label2 + // header2 // - this.label2.Location = new System.Drawing.Point(13, 92); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(507, 26); - this.label2.TabIndex = 25; - this.label2.Text = "Hibernate can generate database schema from your UML model automatically. Check " + - "the box below if you would like to create a project that generates database sche" + - "ma from your model."; - // - // label1 - // - this.label1.AutoSize = true; - this.label1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label1.Location = new System.Drawing.Point(5, 73); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(97, 13); - this.label1.TabIndex = 23; - this.label1.Text = "Confirm Choices"; - // - // groupBox2 - // - this.groupBox2.Location = new System.Drawing.Point(34, 74); - this.groupBox2.Name = "groupBox2"; - this.groupBox2.Size = new System.Drawing.Size(486, 7); - this.groupBox2.TabIndex = 24; - this.groupBox2.TabStop = false; + this.header2.BackColor = System.Drawing.SystemColors.Control; + this.header2.CausesValidation = false; + this.header2.Description = "The core project, also known as the domain project, contains all entities and dat" + + "a access objects generated from your model."; + this.header2.Dock = System.Windows.Forms.DockStyle.Top; + this.header2.Image = ((System.Drawing.Image)(resources.GetObject("header2.Image"))); + this.header2.Location = new System.Drawing.Point(0, 0); + this.header2.Name = "header2"; + this.header2.Size = new System.Drawing.Size(525, 65); + this.header2.TabIndex = 3; + this.header2.Title = "Core Project"; // - // header4 + // usrCoreProject // - this.header4.BackColor = System.Drawing.SystemColors.Control; - this.header4.CausesValidation = false; - this.header4.Description = "Confirm Choices"; - this.header4.Dock = System.Windows.Forms.DockStyle.Top; - this.header4.Image = ((System.Drawing.Image)(resources.GetObject("header4.Image"))); - this.header4.Location = new System.Drawing.Point(0, 0); - this.header4.Name = "header4"; - this.header4.Size = new System.Drawing.Size(525, 65); - this.header4.TabIndex = 5; - this.header4.Title = "AndroMDA Solution Wizard"; + this.usrCoreProject.Location = new System.Drawing.Point(12, 79); + this.usrCoreProject.Name = "usrCoreProject"; + this.usrCoreProject.ProjectName = ""; + this.usrCoreProject.Size = new System.Drawing.Size(384, 156); + this.usrCoreProject.TabIndex = 0; // // wizardPageSchemaExportProject // this.wizardPageSchemaExportProject.Controls.Add(this.cbCreateSchemaExport); - this.wizardPageSchemaExportProject.Controls.Add(this.lblTitle); - this.wizardPageSchemaExportProject.Controls.Add(this.groupBox1); this.wizardPageSchemaExportProject.Controls.Add(this.txtSchemaExportProject); this.wizardPageSchemaExportProject.Controls.Add(this.lblDescription); this.wizardPageSchemaExportProject.Controls.Add(this.header3); @@ -408,36 +356,19 @@ // cbCreateSchemaExport // this.cbCreateSchemaExport.AutoSize = true; - this.cbCreateSchemaExport.Location = new System.Drawing.Point(16, 125); + this.cbCreateSchemaExport.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cbCreateSchemaExport.Location = new System.Drawing.Point(12, 79); this.cbCreateSchemaExport.Name = "cbCreateSchemaExport"; - this.cbCreateSchemaExport.Size = new System.Drawing.Size(170, 17); + this.cbCreateSchemaExport.Size = new System.Drawing.Size(196, 17); this.cbCreateSchemaExport.TabIndex = 0; this.cbCreateSchemaExport.Text = "Create schema export project"; this.cbCreateSchemaExport.UseVisualStyleBackColor = true; this.cbCreateSchemaExport.CheckedChanged += new System.EventHandler(this.cbCreateSchemaExport_CheckedChanged); // - // lblTitle - // - this.lblTitle.AutoSize = true; - this.lblTitle.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblTitle.Location = new System.Drawing.Point(5, 73); - this.lblTitle.Name = "lblTitle"; - this.lblTitle.Size = new System.Drawing.Size(136, 13); - this.lblTitle.TabIndex = 21; - this.lblTitle.Text = "Schema Export Project"; - // - // groupBox1 - // - this.groupBox1.Location = new System.Drawing.Point(34, 74); - this.groupBox1.Name = "groupBox1"; - this.groupBox1.Size = new System.Drawing.Size(486, 7); - this.groupBox1.TabIndex = 22; - this.groupBox1.TabStop = false; - // // txtSchemaExportProject // this.txtSchemaExportProject.Enabled = false; - this.txtSchemaExportProject.Location = new System.Drawing.Point(34, 145); + this.txtSchemaExportProject.Location = new System.Drawing.Point(30, 102); this.txtSchemaExportProject.Name = "txtSchemaExportProject"; this.txtSchemaExportProject.Size = new System.Drawing.Size(320, 21); this.txtSchemaExportProject.TabIndex = 1; @@ -449,251 +380,345 @@ this.lblDescription.Name = "lblDescription"; this.lblDescription.Size = new System.Drawing.Size(507, 26); this.lblDescription.TabIndex = 24; - this.lblDescription.Text = "Hibernate can generate database schema from your UML model automatically. Check " + - "the box below if you would like to create a project that generates database sche" + - "ma from your model."; // // header3 // this.header3.BackColor = System.Drawing.SystemColors.Control; this.header3.CausesValidation = false; - this.header3.Description = "Schema Export Project"; + this.header3.Description = "Check the box below if you would like to create a project that contains a console" + + " application that generates database schema from your model. "; this.header3.Dock = System.Windows.Forms.DockStyle.Top; this.header3.Image = ((System.Drawing.Image)(resources.GetObject("header3.Image"))); this.header3.Location = new System.Drawing.Point(0, 0); this.header3.Name = "header3"; this.header3.Size = new System.Drawing.Size(525, 65); this.header3.TabIndex = 4; - this.header3.Title = "AndroMDA Solution Wizard"; + this.header3.Title = "Schema Export Project"; // - // wizardPageCoreProject + // wizardPageWebProject // - this.wizardPageCoreProject.Controls.Add(this.header2); - this.wizardPageCoreProject.Controls.Add(this.usrCoreProject); - this.wizardPageCoreProject.Dock = System.Windows.Forms.DockStyle.Fill; - this.wizardPageCoreProject.IsFinishPage = false; - this.wizardPageCoreProject.Location = new System.Drawing.Point(0, 0); - this.wizardPageCoreProject.Name = "wizardPageCoreProject"; - this.wizardPageCoreProject.Size = new System.Drawing.Size(525, 297); - this.wizardPageCoreProject.TabIndex = 3; - this.wizardPageCoreProject.CloseFromNext += new Gui.Wizard.PageEventHandler(this.wizardPageCoreProject_CloseFromNext); - this.wizardPageCoreProject.ShowFromNext += new System.EventHandler(this.wizardPageCoreProject_ShowFromNext); + this.wizardPageWebProject.Controls.Add(this.cbCreateWebProject); + this.wizardPageWebProject.Controls.Add(this.txtWebProject); + this.wizardPageWebProject.Controls.Add(this.header7); + this.wizardPageWebProject.Dock = System.Windows.Forms.DockStyle.Fill; + this.wizardPageWebProject.IsFinishPage = false; + this.wizardPageWebProject.Location = new System.Drawing.Point(0, 0); + this.wizardPageWebProject.Name = "wizardPageWebProject"; + this.wizardPageWebProject.Size = new System.Drawing.Size(525, 297); + this.wizardPageWebProject.TabIndex = 9; + this.wizardPageWebProject.CloseFromNext += new Gui.Wizard.PageEventHandler(this.wizardPageWebProject_CloseFromNext); + this.wizardPageWebProject.ShowFromNext += new System.EventHandler(this.wizardPageWebProject_ShowFromNext); + // + // cbCreateWebProject + // + this.cbCreateWebProject.AutoSize = true; + this.cbCreateWebProject.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Po... [truncated message content] |