]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/ModuleDefinitions.java
1. Change ToolCode from text field to drop down list, and user can enter their custom...
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / module / ui / ModuleDefinitions.java
index fa0963d6d8e847c308cd0728d5cdd8c0ef7494b4..a427b2f770cb48fed2cf71a30b859a5465e872c0 100644 (file)
@@ -65,9 +65,9 @@ public class ModuleDefinitions extends IInternalFrame {
     private StarLabel jStarLabel2 = null;\r
 \r
     private StarLabel jStarLabel3 = null;\r
-    \r
+\r
     private OpeningModuleType omt = null;\r
-    \r
+\r
     private ClonedFrom cf = null;\r
 \r
     private ModuleSurfaceAreaDocument.ModuleSurfaceArea msa = null;\r
@@ -136,12 +136,12 @@ public class ModuleDefinitions extends IInternalFrame {
         if (iCheckBoxListArch == null) {\r
             iCheckBoxListArch = new ICheckBoxList();\r
             iCheckBoxListArch.addFocusListener(this);\r
-            iCheckBoxListArch.setToolTipText("<html>Deselecting a checkbox will restrict this module<br>" +\r
-                    "for use with the selected architectures, <br>" +\r
-                    "based on the list of items that are checked. <br>" +\r
-                    "If all boxes are checked, <br>" +\r
-                    "then the module will support all <br>" +\r
-                    "current AND FUTURE architectures</html>");\r
+            iCheckBoxListArch.setToolTipText("<html>Deselecting a checkbox will restrict this module<br>"\r
+                                             + "for use with the selected architectures, <br>"\r
+                                             + "based on the list of items that are checked. <br>"\r
+                                             + "If all boxes are checked, <br>"\r
+                                             + "then the module will support all <br>"\r
+                                             + "current AND FUTURE architectures</html>");\r
         }\r
         return iCheckBoxListArch;\r
     }\r
@@ -157,14 +157,14 @@ public class ModuleDefinitions extends IInternalFrame {
             jComboBoxBinaryModule.setBounds(new java.awt.Rectangle(160, 35, 320, 20));\r
             jComboBoxBinaryModule.setPreferredSize(new java.awt.Dimension(320, 20));\r
             jComboBoxBinaryModule.addFocusListener(this);\r
-            jComboBoxBinaryModule.setToolTipText("<html>Modules are either source modules <br>" +\r
-                                                 "which can be compiled or binary <br>" +\r
-                                                 "modules which are linked.  <br>" +\r
-                                                 "A module cannot contain both. <br>" +\r
-                                                 "The GUID numbers should be identical <br>" +\r
-                                                 "for a binary and source MSA, <br>" +\r
-                                                 "but the BINARY MSA should have <br>" +\r
-                                                 "a higher version number.</html>");\r
+            jComboBoxBinaryModule.setToolTipText("<html>Modules are either source modules <br>"\r
+                                                 + "which can be compiled or binary <br>"\r
+                                                 + "modules which are linked.  <br>"\r
+                                                 + "A module cannot contain both. <br>"\r
+                                                 + "The GUID numbers should be identical <br>"\r
+                                                 + "for a binary and source MSA, <br>"\r
+                                                 + "but the BINARY MSA should have <br>"\r
+                                                 "a higher version number.</html>");\r
         }\r
         return jComboBoxBinaryModule;\r
     }\r
@@ -231,7 +231,7 @@ public class ModuleDefinitions extends IInternalFrame {
         this.omt = inOmt;\r
         this.msa = omt.getXmlMsa();\r
         if (msa.getModuleDefinitions() != null) {\r
-            this.cf = msa.getModuleDefinitions().getClonedFrom();    \r
+            this.cf = msa.getModuleDefinitions().getClonedFrom();\r
         }\r
         init(msa.getModuleDefinitions());\r
         this.setVisible(true);\r
@@ -283,7 +283,7 @@ public class ModuleDefinitions extends IInternalFrame {
         this.iCheckBoxListArch.setAllItems(ed.getVSupportedArchitectures());\r
         Tools.generateComboBoxByVector(jComboBoxBinaryModule, ed.getVBoolean());\r
     }\r
-    \r
+\r
     private boolean check() {\r
         if (isEmpty(this.jTextFieldOutputFileBasename.getText())) {\r
             Log.wrn("Update Definitions", "Output File Basename couldn't be empty!");\r
@@ -332,7 +332,7 @@ public class ModuleDefinitions extends IInternalFrame {
             } else {\r
                 md.setBinaryModule(true);\r
             }\r
-            \r
+\r
             //\r
             // Set ClonedFrom field\r
             //\r
@@ -344,9 +344,9 @@ public class ModuleDefinitions extends IInternalFrame {
             // Save Arch list\r
             //\r
             md.setSupportedArchitectures(this.iCheckBoxListArch.getAllCheckedItemsString());\r
-            \r
+\r
             msa.setModuleDefinitions(md);\r
-            \r
+\r
             this.omt.setSaved(false);\r
 \r
         } catch (Exception e) {\r