[commit] r1168 - trunk/SDK/DotNet/CSharpComponentWizard

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Wed Feb 9 16:48:09 CST 2011


Author: ksmyth
Date: Wed Feb  9 16:48:09 2011
New Revision: 1168

Log:
Disable domain-specific generator

Modified:
   trunk/SDK/DotNet/CSharpComponentWizard/MainWindow.xaml.cs

Modified: trunk/SDK/DotNet/CSharpComponentWizard/MainWindow.xaml.cs
==============================================================================
--- trunk/SDK/DotNet/CSharpComponentWizard/MainWindow.xaml.cs	Wed Feb  9 16:47:50 2011	(r1167)
+++ trunk/SDK/DotNet/CSharpComponentWizard/MainWindow.xaml.cs	Wed Feb  9 16:48:09 2011	(r1168)
@@ -247,7 +247,8 @@
         private void btn_Next_Click(object sender, RoutedEventArgs e)
         {
             Button button = (Button)sender;
-            if (button.Name == "btn_Next1" && this.ValidateInputTab_1())
+            // FIXME: fix generator and reenable
+            if (false && button.Name == "btn_Next1" && this.ValidateInputTab_1())
             {
                 this.tbc_WizardTab.SelectedIndex = 1;
                 this.lbl_Step.Content = "Step 2 of 6";
@@ -256,8 +257,11 @@
                 SolutionGenerator.SolutionName = txb_SolutionName.Text;
                 SolutionGenerator.TargetFolder = txb_TargetFolder.Text;
             }
-            else if (button.Name == "btn_Next2" && this.ValidateInputTab_2())
+            // else if (button.Name == "btn_Next2" && this.ValidateInputTab_2())
+            if (button.Name == "btn_Next1" && this.ValidateInputTab_1())
             {
+                ckb_GenerateDSI.IsChecked = false;
+                this.txb_ComponentName.Text = txb_SolutionName.Text;
                 this.tbc_WizardTab.SelectedIndex = 2;
                 this.lbl_Step.Content = "Step 3 of 6";
 
@@ -337,7 +341,9 @@
         private void btn_Back_Click(object sender, RoutedEventArgs e)
         {
             Button button = (Button)sender;
-            if (button.Name == "btn_Back2")
+            if (button.Name == "btn_Back2" ||
+                // FIXME remove when paradigm-specific code is reenabled
+                button.Name == "btn_Back3")
             {
                 this.tbc_WizardTab.SelectedIndex = 0;
                 this.lbl_Step.Content = "Step 1 of 6";


More information about the gme-commit mailing list