]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/Identifications/OpeningPlatformType.java
1. Merge ModuleDefinitions to MsaHeader
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / common / Identifications / OpeningPlatformType.java
index cc6a3f9c7787555bf72988d8b6ccebb3d41484a3..c81f4eef05599c7d379a3f1c1a0fc1431c398e42 100644 (file)
@@ -17,6 +17,7 @@ package org.tianocore.frameworkwizard.common.Identifications;
 import javax.swing.tree.TreePath;\r
 \r
 import org.tianocore.PlatformSurfaceAreaDocument;\r
+import org.tianocore.frameworkwizard.platform.PlatformIdentification;\r
 \r
 public class OpeningPlatformType extends OpeningFileType {\r
     //\r
@@ -24,17 +25,20 @@ public class OpeningPlatformType extends OpeningFileType {
     //\r
     private PlatformSurfaceAreaDocument.PlatformSurfaceArea xmlFpd = null;\r
     \r
+    private PlatformIdentification id = null;\r
+    \r
     public OpeningPlatformType() {\r
         \r
     }\r
     \r
-    public OpeningPlatformType(Identification identification, PlatformSurfaceAreaDocument.PlatformSurfaceArea fpd) {\r
-        super(identification);\r
+    public OpeningPlatformType(PlatformIdentification identification, PlatformSurfaceAreaDocument.PlatformSurfaceArea fpd) {\r
+        this.id = identification;\r
         this.xmlFpd = fpd;\r
     }\r
     \r
-    public OpeningPlatformType(Identification identification, PlatformSurfaceAreaDocument.PlatformSurfaceArea fpd, TreePath treePath) {\r
-        super(identification, treePath);\r
+    public OpeningPlatformType(PlatformIdentification identification, PlatformSurfaceAreaDocument.PlatformSurfaceArea fpd, TreePath treePath) {\r
+        super(treePath);\r
+        this.id = identification;\r
         this.xmlFpd = fpd;\r
     }\r
 \r
@@ -45,4 +49,12 @@ public class OpeningPlatformType extends OpeningFileType {
     public void setXmlFpd(PlatformSurfaceAreaDocument.PlatformSurfaceArea xmlFpd) {\r
         this.xmlFpd = xmlFpd;\r
     }\r
+\r
+    public PlatformIdentification getId() {\r
+        return id;\r
+    }\r
+\r
+    public void setId(PlatformIdentification id) {\r
+        this.id = id;\r
+    }\r
 }\r