]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/Identifications/Guids/GuidsVector.java
Use table and popup window to add/edit all elements of module instead of original...
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / module / Identifications / Guids / GuidsVector.java
index 01694cc5a8e9344141679bf77f905d8229f54bd4..6d415c31629bc1c4c31287f0c66b28f555c4eec7 100644 (file)
@@ -50,7 +50,7 @@ public class GuidsVector {
         vGuids.addElement(arg0);\r
     }\r
 \r
-    public void updateGuids(GuidsIdentification arg0, int arg1) {\r
+    public void setGuids(GuidsIdentification arg0, int arg1) {\r
         vGuids.setElementAt(arg0, arg1);\r
     }\r
 \r
@@ -86,5 +86,12 @@ public class GuidsVector {
     public int size() {\r
         return this.vGuids.size();\r
     }\r
+    \r
+    public Vector<String> toStringVector(int index) {\r
+        Vector<String> v = new Vector<String>();\r
+        v.addElement(getGuids(index).getName());\r
+        v.addElement(getGuids(index).getUsage());\r
+        return v;\r
+    }\r
 \r
 }\r