]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/dialog/SourceFilesDlg.java
Fixed Absolute position of fields, Added ToolTipText and made HelpText a Scrolling...
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / module / ui / dialog / SourceFilesDlg.java
index d11c979e25cdb8c315f09ee51afc9dd494948817..f5c321df8ef0cbaeaec23c74c950e046eecdc8f8 100644 (file)
@@ -251,7 +251,7 @@ public class SourceFilesDlg extends IDialog {
      \r
      **/\r
     private void init() {\r
-        this.setSize(500, 235);\r
+        this.setSize(510, 240);\r
         this.setContentPane(getJScrollPane());\r
         this.setTitle("Source Files");\r
         this.setViewMode(false);\r
@@ -307,7 +307,7 @@ public class SourceFilesDlg extends IDialog {
             jArchCheckBox.setPreferredSize(new java.awt.Dimension(340, 20));\r
             jLabelFeatureFlag = new JLabel();\r
             jLabelFeatureFlag.setBounds(new java.awt.Rectangle(15, 110, 120, 20));\r
-            jLabelFeatureFlag.setText("Feature Flag");\r
+            jLabelFeatureFlag.setText("Feature Flag Expression");\r
             jLabelToolCode = new JLabel();\r
             jLabelToolCode.setBounds(new java.awt.Rectangle(15, 60, 120, 20));\r
             jLabelToolCode.setText("Tool Code");\r
@@ -316,7 +316,7 @@ public class SourceFilesDlg extends IDialog {
             jLabelTagName.setText("Tag Name");\r
             jLabelArch = new JLabel();\r
             jLabelArch.setBounds(new java.awt.Rectangle(15, 135, 120, 20));\r
-            jLabelArch.setText("Sup Arch List");\r
+            jLabelArch.setText("Supported Architectures");\r
             jLabelToolChainFamily = new JLabel();\r
             jLabelToolChainFamily.setBounds(new java.awt.Rectangle(15, 85, 120, 20));\r
             jLabelToolChainFamily.setText("Tool Chain Family");\r
@@ -403,11 +403,11 @@ public class SourceFilesDlg extends IDialog {
         // Check Filename\r
         //\r
         if (isEmpty(this.jTextFieldFileName.getText())) {\r
-            Log.err("File Name couldn't be empty");\r
+            Log.wrn("Update Source Files", "File Name couldn't be empty");\r
             return false;\r
         }\r
         if (!DataValidation.isFilename(this.jTextFieldFileName.getText())) {\r
-            Log.err("Incorrect data type for File Name");\r
+            Log.wrn("Update Source Files", "Incorrect data type for File Name");\r
             return false;\r
         }\r
 \r
@@ -416,7 +416,7 @@ public class SourceFilesDlg extends IDialog {
         //\r
         if (!isEmpty(this.jTextFieldTagName.getText())) {\r
             if (!DataValidation.isTagName(this.jTextFieldTagName.getText())) {\r
-                Log.err("Incorrect data type for Tag Name");\r
+                Log.wrn("Update Source Files", "Incorrect data type for Tag Name");\r
                 return false;\r
             }\r
         }\r
@@ -426,7 +426,7 @@ public class SourceFilesDlg extends IDialog {
         //\r
         if (!isEmpty(this.jTextFieldToolCode.getText())) {\r
             if (!DataValidation.isToolCode(this.jTextFieldToolCode.getText())) {\r
-                Log.err("Incorrect data type for Tool Code");\r
+                Log.wrn("Update Source Files", "Incorrect data type for Tool Code");\r
                 return false;\r
             }\r
         }\r
@@ -436,7 +436,7 @@ public class SourceFilesDlg extends IDialog {
         //\r
         if (!isEmpty(this.jTextFieldToolChainFamily.getText())) {\r
             if (!DataValidation.isToolChainFamily(this.jTextFieldToolChainFamily.getText())) {\r
-                Log.err("Incorrect data type for Tool Chain Family");\r
+                Log.wrn("Update Source Files", "Incorrect data type for Tool Chain Family");\r
                 return false;\r
             }\r
         }\r
@@ -446,7 +446,7 @@ public class SourceFilesDlg extends IDialog {
         //\r
         if (!isEmpty(this.jTextFieldFeatureFlag.getText())) {\r
             if (!DataValidation.isFeatureFlag(this.jTextFieldFeatureFlag.getText())) {\r
-                Log.err("Incorrect data type for Feature Flag");\r
+                Log.wrn("Update Source Files", "Incorrect data type for Feature Flag");\r
                 return false;\r
             }\r
         }\r