Fixed spelling and grammar, also fixed the size of the pop up dialog boxes and the...
authorlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 26 Jul 2006 19:20:43 +0000 (19:20 +0000)
committerlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 26 Jul 2006 19:20:43 +0000 (19:20 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1106 6f19259b-4bc3-4df7-8a09-765794883524

15 files changed:
Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/MsaHeader.java
Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/dialog/BootModesDlg.java
Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/dialog/DataHubsDlg.java
Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/dialog/EventsDlg.java
Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/dialog/ExternsDlg.java
Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/dialog/GuidsDlg.java
Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/dialog/HiiPackagesDlg.java
Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/dialog/HobsDlg.java
Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/dialog/PCDsDlg.java
Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/dialog/PackageDepDlg.java
Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/dialog/PpisDlg.java
Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/dialog/ProtocolsDlg.java
Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/dialog/SourceFilesDlg.java
Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/dialog/SystemTablesDlg.java
Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/dialog/VariablesDlg.java

index 826a7cb..c161b5d 100644 (file)
@@ -150,7 +150,7 @@ public class MsaHeader extends IInternalFrame {
             jTextFieldBaseName.setBounds(new java.awt.Rectangle(160, 10, 320, 20));\r
             jTextFieldBaseName.setPreferredSize(new java.awt.Dimension(320, 20));\r
             jTextFieldBaseName.addFocusListener(this);\r
-            jTextFieldBaseName.setToolTipText("An brief Identifier, such as USB I/O Library, of the module");\r
+            jTextFieldBaseName.setToolTipText("A brief Identifier, such as USB I/O Library, of the module");\r
         }\r
         return jTextFieldBaseName;\r
     }\r
@@ -168,7 +168,7 @@ public class MsaHeader extends IInternalFrame {
             jTextFieldGuid.setLocation(new java.awt.Point(160, 60));\r
             jTextFieldGuid.setSize(new java.awt.Dimension(250, 20));\r
             jTextFieldGuid.addFocusListener(this);\r
-            jTextFieldGuid.setToolTipText("Guaranteed Unique Identification Number (8-4-4-4-12)");\r
+            jTextFieldGuid.setToolTipText("Guaranteed Unique Identification Number, Registry Format (8-4-4-4-12)");\r
         }\r
         return jTextFieldGuid;\r
     }\r
@@ -186,7 +186,7 @@ public class MsaHeader extends IInternalFrame {
             jTextFieldVersion.setLocation(new java.awt.Point(160, 85));\r
             jTextFieldVersion.setSize(new java.awt.Dimension(320, 20));\r
             jTextFieldVersion.addFocusListener(this);\r
-            jTextFieldVersion.setToolTipText("A Version Number, 1.0, 1, 1.01");\r
+            jTextFieldVersion.setToolTipText("A Version Number, 1.0, 1, 1.01, 1.0.1");\r
         }\r
         return jTextFieldVersion;\r
     }\r
@@ -224,7 +224,7 @@ public class MsaHeader extends IInternalFrame {
             jTextAreaLicense.setWrapStyleWord(true);\r
             jTextAreaLicense.setSelectionStart(0);\r
             jTextAreaLicense.setSelectionEnd(0);\r
-            jTextAreaLicense.setToolTipText("The License for this file");\r
+            jTextAreaLicense.setToolTipText("The License for this Module.");\r
         }\r
         return jTextAreaLicense;\r
     }\r
index 95441ed..a94c2b7 100644 (file)
@@ -204,7 +204,7 @@ public class BootModesDlg extends IDialog {
      \r
      **/\r
     private void init() {\r
-        this.setSize(500, 200);\r
+        this.setSize(508, 220);\r
         this.setContentPane(getJScrollPane());\r
         this.setTitle("Boot Modes");\r
         initFrame();\r
index 98c3703..ba71a20 100644 (file)
@@ -206,7 +206,7 @@ public class DataHubsDlg extends IDialog {
      \r
      **/\r
     private void init() {\r
-        this.setSize(500, 200);\r
+        this.setSize(508, 220);\r
         this.setContentPane(getJScrollPane());\r
         this.setTitle("Data Hubs");\r
         initFrame();\r
index 3bb8b3b..fc77c6b 100644 (file)
@@ -15,6 +15,8 @@
 package org.tianocore.frameworkwizard.module.ui.dialog;\r
 \r
 import java.awt.event.ActionEvent;\r
+import java.awt.event.ItemEvent;\r
+import java.awt.event.ItemListener;\r
 import java.util.Vector;\r
 \r
 import javax.swing.JButton;\r
@@ -147,7 +149,7 @@ public class EventsDlg extends IDialog {
            jComboBoxEventsType.setBounds(new java.awt.Rectangle(160, 10, 320, 20));\r
            jComboBoxEventsType.setPreferredSize(new java.awt.Dimension(320, 20));\r
            jComboBoxEventsType\r
-           .setToolTipText("<html>Select Create event if the Module has an event that<br> is waiting to be signaled.  Select Signal if the Module will signal all events in an event group.  Signal Event The events are named by GUID.</html>");\r
+           .setToolTipText("<html>Select CreateEvents if the Module has an event that is waiting to be signaled.<br>Select SignalEvents if the Module will signal all events in an event group.<br>NOTE: Signal events are named by GUID.</html>");\r
        }\r
        return jComboBoxEventsType;\r
    }\r
@@ -162,6 +164,7 @@ public class EventsDlg extends IDialog {
             jComboBoxEventGroup = new JComboBox();\r
             jComboBoxEventGroup.setBounds(new java.awt.Rectangle(160, 60, 320, 20));\r
             jComboBoxEventGroup.setPreferredSize(new java.awt.Dimension(320, 20));\r
+            jComboBoxEventGroup.setToolTipText("Select Type of Event, Guid or Timer.");\r
             \r
         }\r
         return jComboBoxEventGroup;\r
@@ -250,7 +253,7 @@ public class EventsDlg extends IDialog {
      \r
      **/\r
     private void init() {\r
-        this.setSize(500, 255);\r
+        this.setSize(508, 265);\r
         this.setContentPane(getJScrollPane());\r
         this.setTitle("Events");\r
         initFrame();\r
@@ -315,7 +318,7 @@ public class EventsDlg extends IDialog {
     private JPanel getJContentPane() {\r
         if (jContentPane == null) {\r
             jArchCheckBox = new ArchCheckBox();\r
-            jArchCheckBox.setBounds(new java.awt.Rectangle(160, 135, 320, 20));\r
+            jArchCheckBox.setBounds(new java.awt.Rectangle(160, 160, 320, 20));\r
             jArchCheckBox.setPreferredSize(new java.awt.Dimension(320, 20));\r
             jLabelFeatureFlag = new JLabel();\r
             jLabelFeatureFlag.setBounds(new java.awt.Rectangle(15, 135, 140, 20));\r
@@ -327,10 +330,10 @@ public class EventsDlg extends IDialog {
             jLabelUsage.setText("Usage");\r
             jLabelUsage.setBounds(new java.awt.Rectangle(15, 85, 140, 20));\r
             jLabelC_Name = new JLabel();\r
-            jLabelC_Name.setText("Guid C_Name");\r
+            jLabelC_Name.setText("Guid C Name");\r
             jLabelC_Name.setBounds(new java.awt.Rectangle(15, 35, 140, 20));\r
             jLabelGroup = new JLabel();\r
-            jLabelGroup.setText("Even Type");\r
+            jLabelGroup.setText("Event Type");\r
             jLabelGroup.setBounds(new java.awt.Rectangle(15, 60, 140, 20));\r
             jLabelEventType = new JLabel();\r
             jLabelEventType.setText("Type");\r
index a67e60f..b530589 100644 (file)
@@ -202,7 +202,7 @@ public class ExternsDlg extends IDialog implements ItemListener {
      \r
      **/\r
     private void init() {\r
-        this.setSize(500, 180);\r
+        this.setSize(508, 200);\r
         this.setContentPane(getJScrollPane());\r
         this.setTitle("Externs");\r
         initFrame();\r
@@ -350,7 +350,7 @@ public class ExternsDlg extends IDialog implements ItemListener {
                     }\r
                 } else {\r
                     if (!DataValidation.isC_NameType(this.jTextFieldC_Name.getText())) {\r
-                        Log.wrn("Update Externs", "Incorrect data type for C_Name");\r
+                        Log.wrn("Update Externs", "Incorrect data type for C Name");\r
                         return false;\r
                     }\r
                 }\r
index 24d8f94..f9eaa3a 100644 (file)
@@ -208,7 +208,7 @@ public class GuidsDlg extends IDialog {
      \r
      **/\r
     private void init() {\r
-        this.setSize(500, 200);\r
+        this.setSize(508, 220);\r
         this.setContentPane(getJScrollPane());\r
         this.setTitle("Guids");\r
         initFrame();\r
index 1a02487..216d2e0 100644 (file)
@@ -205,7 +205,7 @@ public class HiiPackagesDlg extends IDialog {
      \r
      **/\r
     private void init() {\r
-        this.setSize(500, 200);\r
+        this.setSize(508, 220);\r
         this.setContentPane(getJScrollPane());\r
         this.setTitle("Hii Packages");\r
         initFrame();\r
index a9621a6..fb9381c 100644 (file)
@@ -223,7 +223,7 @@ public class HobsDlg extends IDialog {
      \r
      **/\r
     private void init() {\r
-        this.setSize(500, 225);\r
+        this.setSize(510, 240);\r
         this.setContentPane(getJScrollPane());\r
         this.setTitle("Hobs");\r
         initFrame();\r
@@ -302,7 +302,7 @@ public class HobsDlg extends IDialog {
             jLabelUsage.setText("Usage");\r
             jLabelUsage.setBounds(new java.awt.Rectangle(15, 60, 140, 20));\r
             jLabel = new JLabel();\r
-            jLabel.setText("Guid C_Name");\r
+            jLabel.setText("Guid C Name");\r
             jLabel.setBounds(new java.awt.Rectangle(15, 10, 140, 20));\r
             jLabelHelpText = new JLabel();\r
             jLabelHelpText.setBounds(new java.awt.Rectangle(14, 85, 140, 20));\r
index dcb4946..5cb598d 100644 (file)
@@ -248,7 +248,7 @@ public class PCDsDlg extends IDialog implements ItemListener {
      \r
      **/\r
     private void init() {\r
-        this.setSize(500, 225);\r
+        this.setSize(508, 240);\r
         this.setContentPane(getJScrollPane());\r
         this.setTitle("Pcd Coded");\r
         initFrame();\r
@@ -322,13 +322,13 @@ public class PCDsDlg extends IDialog implements ItemListener {
             jLabelFeatureFlag.setText("Feature Flag");\r
             jLabelTokenSpaceGuid = new JLabel();\r
             jLabelTokenSpaceGuid.setBounds(new java.awt.Rectangle(15, 60, 140, 20));\r
-            jLabelTokenSpaceGuid.setText("Token Space C_Name");\r
+            jLabelTokenSpaceGuid.setText("Token Space C Name");\r
             jLabelTokenSpaceGuid.setVisible(false);\r
             jLabelHelpText = new JLabel();\r
             jLabelHelpText.setBounds(new java.awt.Rectangle(15, 85, 140, 20));\r
             jLabelHelpText.setText("Help Text");\r
             jLabelC_Name = new JLabel();\r
-            jLabelC_Name.setText("C_Name");\r
+            jLabelC_Name.setText("C Name");\r
             jLabelC_Name.setBounds(new java.awt.Rectangle(15, 10, 140, 20));\r
             jLabelDefaultValue = new JLabel();\r
             jLabelDefaultValue.setText("Default Value");\r
@@ -421,7 +421,7 @@ public class PCDsDlg extends IDialog implements ItemListener {
         //\r
         if (!isEmpty(this.jComboBoxCName.getSelectedItem().toString())) {\r
             if (!DataValidation.isC_NameType(this.jComboBoxCName.getSelectedItem().toString())) {\r
-                Log.wrn("Update PcdCoded", "Incorrect data type for C_Name");\r
+                Log.wrn("Update PcdCoded", "Incorrect data type for C Name");\r
                 return false;\r
             }\r
         }\r
index d8f6cb5..9225602 100644 (file)
@@ -228,7 +228,7 @@ public class PackageDepDlg extends IDialog implements ItemListener {
      \r
      **/\r
     private void init() {\r
-        this.setSize(500, 175);\r
+        this.setSize(508, 188);\r
         this.setContentPane(getJScrollPane());\r
         this.setTitle("Package Dependencies");\r
         initFrame();\r
index de182cd..4ad12ee 100644 (file)
@@ -227,7 +227,7 @@ public class PpisDlg extends IDialog implements ItemListener {
      \r
      **/\r
     private void init() {\r
-        this.setSize(500, 225);\r
+        this.setSize(510, 240);\r
         this.setContentPane(getJScrollPane());\r
         this.setTitle("Ppis");\r
         initFrame();\r
@@ -291,7 +291,7 @@ public class PpisDlg extends IDialog implements ItemListener {
             jLabelFeatureFlag.setText("Feature Flag");\r
             jLabelFeatureFlag.setBounds(new java.awt.Rectangle(15, 110, 140, 20));\r
             jLabelC_Name = new JLabel();\r
-            jLabelC_Name.setText("C_Name Type");\r
+            jLabelC_Name.setText("C Name Type");\r
             jLabelC_Name.setBounds(new java.awt.Rectangle(15, 35, 140, 20));\r
             jLabelHelpText = new JLabel();\r
             jLabelHelpText.setBounds(new java.awt.Rectangle(14, 85, 140, 20));\r
index c77585a..5ca71a0 100644 (file)
@@ -231,7 +231,7 @@ public class ProtocolsDlg extends IDialog implements ItemListener {
      \r
      **/\r
     private void init() {\r
-        this.setSize(500, 225);\r
+        this.setSize(510, 240);\r
         this.setContentPane(getJScrollPane());\r
         this.setTitle("Protocols");\r
         initFrame();\r
@@ -313,7 +313,7 @@ public class ProtocolsDlg extends IDialog implements ItemListener {
             jLabelFeatureFlag.setText("Feature Flag");\r
             jLabelFeatureFlag.setBounds(new java.awt.Rectangle(15, 110, 140, 20));\r
             jLabelC_Name = new JLabel();\r
-            jLabelC_Name.setText("C_Name Type");\r
+            jLabelC_Name.setText("C Name Type");\r
             jLabelC_Name.setBounds(new java.awt.Rectangle(15, 35, 140, 20));\r
 \r
             jContentPane = new JPanel();\r
index d45bd21..0be868f 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
index c285626..741ee3d 100644 (file)
@@ -208,7 +208,7 @@ public class SystemTablesDlg extends IDialog {
      \r
      **/\r
     private void init() {\r
-        this.setSize(500, 200);\r
+        this.setSize(508, 215);\r
         this.setContentPane(getJScrollPane());\r
         this.setTitle("System Tables");\r
         initFrame();\r
@@ -281,7 +281,7 @@ public class SystemTablesDlg extends IDialog {
             jLabelUsage.setText("Usage");\r
             jLabelUsage.setBounds(new java.awt.Rectangle(15, 35, 140, 20));\r
             jLabelEntry = new JLabel();\r
-            jLabelEntry.setText("Guid C_Name");\r
+            jLabelEntry.setText("Guid C Name");\r
             jLabelEntry.setBounds(new java.awt.Rectangle(15, 10, 140, 20));\r
             jLabelHelpText = new JLabel();\r
             jLabelHelpText.setBounds(new java.awt.Rectangle(14, 60, 140, 20));\r
index 7ff3f99..4394112 100644 (file)
@@ -110,7 +110,7 @@ public class VariablesDlg extends IDialog {
             jTextFieldVariableName.setPreferredSize(new java.awt.Dimension(320, 20));\r
             jTextFieldVariableName.setLocation(new java.awt.Point(160, 10));\r
             jTextFieldVariableName\r
-                                  .setToolTipText("Enter a Hex Word Array, you must provide leading Zeros. 0x000a, 0x0010, ¡­");\r
+            .setToolTipText("Enter a Hex Word Array, you must provide leading Zeros. 0x000a, 0x0010, 0x00FF");\r
         }\r
         return jTextFieldVariableName;\r
     }\r
@@ -169,6 +169,7 @@ public class VariablesDlg extends IDialog {
             jTextFieldHelpText = new JTextField();\r
             jTextFieldHelpText.setBounds(new java.awt.Rectangle(160, 85, 320, 20));\r
             jTextFieldHelpText.setPreferredSize(new java.awt.Dimension(320, 20));\r
+            jTextFieldHelpText.setToolTipText("Enter information on how to use this Variable.");\r
         }\r
         return jTextFieldHelpText;\r
     }\r
@@ -184,7 +185,7 @@ public class VariablesDlg extends IDialog {
             jComboBoxGuidC_Name = new JComboBox();\r
             jComboBoxGuidC_Name.setBounds(new java.awt.Rectangle(160, 35, 320, 20));\r
             jComboBoxGuidC_Name.setPreferredSize(new java.awt.Dimension(320, 20));\r
-            jComboBoxGuidC_Name.setToolTipText("Select the GUID C Name of the Hob");\r
+            jComboBoxGuidC_Name.setToolTipText("Select the GUID C Name of the Variable.");\r
         }\r
         return jComboBoxGuidC_Name;\r
     }\r
@@ -230,7 +231,7 @@ public class VariablesDlg extends IDialog {
      \r
      **/\r
     private void init() {\r
-        this.setSize(500, 225);\r
+        this.setSize(510, 240);\r
         this.setContentPane(getJScrollPane());\r
         this.setTitle("Variables");\r
         initFrame();\r
@@ -262,7 +263,7 @@ public class VariablesDlg extends IDialog {
     /**\r
      This is the override edit constructor\r
      \r
-     @param inHobsIdentification\r
+     @param inVariablesIdentification\r
      @param iFrame\r
      \r
      **/\r
@@ -297,7 +298,7 @@ public class VariablesDlg extends IDialog {
             jArchCheckBox.setPreferredSize(new java.awt.Dimension(320, 20));\r
             jLabelGuidCName = new JLabel();\r
             jLabelGuidCName.setBounds(new java.awt.Rectangle(15, 35, 140, 20));\r
-            jLabelGuidCName.setText("Guid C_Name");\r
+            jLabelGuidCName.setText("Guid C Name");\r
             jLabelUsage = new JLabel();\r
             jLabelUsage.setText("Usage");\r
             jLabelUsage.setBounds(new java.awt.Rectangle(15, 60, 140, 20));\r