]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/Identifications/SourceFiles/SourceFilesVector.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 / SourceFiles / SourceFilesVector.java
index 8dccb74627f98704832238306de57b8f7b153efd..3e6e98dac30f52d03a1cd6e3678090ba9a4c09f3 100644 (file)
@@ -50,7 +50,7 @@ public class SourceFilesVector {
         vSourceFiles.addElement(sfi);\r
     }\r
 \r
-    public void updateSourceFiles(SourceFilesIdentification sfi, int index) {\r
+    public void setSourceFiles(SourceFilesIdentification sfi, int index) {\r
         vSourceFiles.setElementAt(sfi, index);\r
     }\r
 \r
@@ -86,4 +86,10 @@ public class SourceFilesVector {
     public int size() {\r
         return this.vSourceFiles.size();\r
     }\r
+    \r
+    public Vector<String> toStringVector(int index) {\r
+        Vector<String> v = new Vector<String>();\r
+        v.addElement(getSourceFiles(index).getFilename());\r
+        return v;\r
+    }\r
 }\r