]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/ToolChainConfigHelp.java
comment out item type checking temporarily when adding module to fpd file.
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / ToolChainConfigHelp.java
index e6bbe16fa6c2fad76accdc9977c7349559390d3f..5d23469c5a7b66a14e01a3c749ebed0ba8fb5de4 100644 (file)
@@ -25,6 +25,8 @@ public class ToolChainConfigHelp extends JFrame implements ActionListener {
     private JTextPane jTextPane = null;\r
 \r
     private JButton jButtonClose = null;\r
+    \r
+    private static ToolChainConfigHelp tcch = null;\r
 \r
     /**\r
      * This method initializes jTextPane       \r
@@ -38,7 +40,7 @@ public class ToolChainConfigHelp extends JFrame implements ActionListener {
             jTextPane.setBackground(new java.awt.Color(238,238,238));\r
             jTextPane.setEditable(false);\r
             helpContent = helpContent\r
-            + "The coding forthe Property is: TARGET_TAGNAME_ARCH_COMMAND_ATTR" + DataType.UNIX_LINE_SEPARATOR\r
+            + "The coding for the Property is: TARGET_TAGNAME_ARCH_COMMAND_ATTR" + DataType.UNIX_LINE_SEPARATOR\r
             + "The Value, is either afull path, full path and filename or a reserved word." + DataType.UNIX_LINE_SEPARATOR\r
             + DataType.UNIX_LINE_SEPARATOR\r
             + DataType.UNIX_LINE_SEPARATOR\r
@@ -57,7 +59,6 @@ public class ToolChainConfigHelp extends JFrame implements ActionListener {
             + "NOTE: The \"*\" symbol may be used as a wildcard character in most of these fields, refer to the tools_def.txt and the \"EDK II Build and Packaging Architecture Specification\" for more details." + DataType.UNIX_LINE_SEPARATOR\r
             + DataType.UNIX_LINE_SEPARATOR;\r
             \r
-            \r
             jTextPane.setText(helpContent);\r
         }\r
         return jTextPane;\r
@@ -78,6 +79,13 @@ public class ToolChainConfigHelp extends JFrame implements ActionListener {
         return jButtonClose;\r
     }\r
 \r
+    public static ToolChainConfigHelp getInstance() {\r
+        if (tcch == null) {\r
+            tcch = new ToolChainConfigHelp();\r
+        }\r
+        return tcch;\r
+    }\r
+    \r
     /**\r
      \r
      @param args\r
@@ -103,6 +111,7 @@ public class ToolChainConfigHelp extends JFrame implements ActionListener {
      */\r
     private void initialize() {\r
         this.setSize(625, 520);\r
+        this.setResizable(false);\r
         this.setTitle("How to Setup Tool Chain Configuration");\r
         this.setContentPane(getJContentPane());\r
     }\r
@@ -126,7 +135,5 @@ public class ToolChainConfigHelp extends JFrame implements ActionListener {
         if (arg0.getSource() == jButtonClose) {\r
             this.dispose();\r
         }\r
-        \r
     }\r
-\r
 }\r