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
//\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
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