]>
Commit | Line | Data |
---|---|---|
79cb6fdb | 1 | /** @file\r |
2 | \r | |
3 | The file is used to define opening platform type\r | |
4 | \r | |
5 | Copyright (c) 2006, Intel Corporation\r | |
6 | All rights reserved. This program and the accompanying materials\r | |
7 | are licensed and made available under the terms and conditions of the BSD License\r | |
8 | which accompanies this distribution. The full text of the license may be found at\r | |
9 | http://opensource.org/licenses/bsd-license.php\r | |
10 | \r | |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | \r | |
14 | **/\r | |
15 | package org.tianocore.frameworkwizard.common.Identifications;\r | |
16 | \r | |
17 | import javax.swing.tree.TreePath;\r | |
18 | \r | |
19 | import org.tianocore.PlatformSurfaceAreaDocument;\r | |
739c6b04 | 20 | import org.tianocore.frameworkwizard.platform.PlatformIdentification;\r |
79cb6fdb | 21 | \r |
22 | public class OpeningPlatformType extends OpeningFileType {\r | |
23 | //\r | |
24 | // Define class members\r | |
25 | //\r | |
26 | private PlatformSurfaceAreaDocument.PlatformSurfaceArea xmlFpd = null;\r | |
27 | \r | |
739c6b04 | 28 | private PlatformIdentification id = null;\r |
29 | \r | |
79cb6fdb | 30 | public OpeningPlatformType() {\r |
31 | \r | |
32 | }\r | |
33 | \r | |
739c6b04 | 34 | public OpeningPlatformType(PlatformIdentification identification, PlatformSurfaceAreaDocument.PlatformSurfaceArea fpd) {\r |
35 | this.id = identification;\r | |
79cb6fdb | 36 | this.xmlFpd = fpd;\r |
37 | }\r | |
38 | \r | |
739c6b04 | 39 | public OpeningPlatformType(PlatformIdentification identification, PlatformSurfaceAreaDocument.PlatformSurfaceArea fpd, TreePath treePath) {\r |
40 | super(treePath);\r | |
41 | this.id = identification;\r | |
79cb6fdb | 42 | this.xmlFpd = fpd;\r |
43 | }\r | |
44 | \r | |
45 | public PlatformSurfaceAreaDocument.PlatformSurfaceArea getXmlFpd() {\r | |
46 | return xmlFpd;\r | |
47 | }\r | |
48 | \r | |
49 | public void setXmlFpd(PlatformSurfaceAreaDocument.PlatformSurfaceArea xmlFpd) {\r | |
50 | this.xmlFpd = xmlFpd;\r | |
51 | }\r | |
739c6b04 | 52 | \r |
53 | public PlatformIdentification getId() {\r | |
54 | return id;\r | |
55 | }\r | |
56 | \r | |
57 | public void setId(PlatformIdentification id) {\r | |
58 | this.id = id;\r | |
59 | }\r | |
79cb6fdb | 60 | }\r |