]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/global/SurfaceAreaQuery.java
auto adjust pcd settings when display existing ModuleSA settings. if new PCD added...
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / platform / ui / global / SurfaceAreaQuery.java
index 1f6ea98f51797bdca3b047a2812787faa5c30fe6..a3b08065b3cbf6c621fe8bf2d0455a6234e3e233 100644 (file)
@@ -893,71 +893,10 @@ public class SurfaceAreaQuery {
                return null;\r
        }\r
 \r
-       /**\r
-        * Get the PcdToken array from module's surface area document. The array\r
-        * should contains following data:\r
-        * <p>\r
-        * -------------------------------------------------------------------\r
-        * </p>\r
-        * <p>\r
-        * CName | ItemType | TokenspaceName | DefaultValue | Usage | HelpText\r
-        * </p>\r
-        * <p>\r
-        * -------------------------------------------------------------------\r
-        * </p>\r
-        * <p>\r
-        * Note: Until new schema applying, now we can only get CName, ItemType,\r
-        * </p>\r
-        * \r
-        * @return 2-array table contains all information of PCD token retrieved\r
-        *         from MSA.\r
-        */\r
-       public static Object[][] etModulePCDTokenArray() {\r
-               return null;\r
-               // int index;\r
-               // Object[][] result;\r
-               // PCDs.PcdData[] pcds;\r
-               // String[] xPath = new String[] { "/PcdData" };\r
-               // XmlObject[] returns = get("PCDs", xPath);\r
-               //\r
-               // if ((returns == null) || (returns.length == 0)) {\r
-               // return null;\r
-               // }\r
-               //\r
-               // pcds = (PCDs.PcdData[]) returns;\r
-               // result = new Object[pcds.length][6];\r
-               // for (index = 0; index < pcds.length; index++) {\r
-               // //\r
-               // // Get CName\r
-               // //\r
-               // result[index][0] = pcds[index].getCName();\r
-               // //\r
-               // // Get ItemType: FEATURE_FLAG, FIXED_AT_BUILD, PATCHABLE_IN_MODLE,\r
-               // // DYNAMIC, DYNAMIC_EX\r
-               // //\r
-               // if (pcds[index].getItemType() != null) {\r
-               // result[index][1] = pcds[index].getItemType().toString();\r
-               // } else {\r
-               // result[index][1] = null;\r
-               // }\r
-               //\r
-               // //\r
-               // // BUGBUG: following field can *not* be got from current MSA until\r
-               // // schema changed.\r
-               // //\r
-               // // result [index][2] = pcds[index].getTokenSpaceName();\r
-               // result[index][2] = null;\r
-               // result[index][3] = pcds[index].getDefaultValue();\r
-               // // result [index][4] = pcds[index].getUsage ();\r
-               // result[index][4] = null;\r
-               // // result [index][5] = pcds[index].getHelpText ();\r
-               // result[index][5] = null;\r
-               // }\r
-               // return result;\r
-       }\r
+       \r
 \r
        /**\r
-        * Retrieve MAS header\r
+        * Retrieve MSA header\r
         * \r
         * @return\r
         * @return\r