]>
Commit | Line | Data |
---|---|---|
79cb6fdb | 1 | /** @file\r |
2 | \r | |
3 | The file is used to define opening package 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.PackageSurfaceAreaDocument;\r | |
739c6b04 | 20 | import org.tianocore.frameworkwizard.packaging.PackageIdentification;\r |
79cb6fdb | 21 | \r |
22 | public class OpeningPackageType extends OpeningFileType {\r | |
23 | //\r | |
24 | // Define class members\r | |
25 | //\r | |
26 | private PackageSurfaceAreaDocument.PackageSurfaceArea xmlSpd = null;\r | |
27 | \r | |
739c6b04 | 28 | private PackageIdentification id = null;\r |
29 | \r | |
79cb6fdb | 30 | public OpeningPackageType() {\r |
31 | \r | |
32 | }\r | |
33 | \r | |
739c6b04 | 34 | public OpeningPackageType(PackageIdentification identification, PackageSurfaceAreaDocument.PackageSurfaceArea spd) {\r |
35 | this.id = identification;\r | |
79cb6fdb | 36 | this.xmlSpd = spd;\r |
37 | }\r | |
38 | \r | |
739c6b04 | 39 | public OpeningPackageType(PackageIdentification identification, PackageSurfaceAreaDocument.PackageSurfaceArea spd, TreePath treePath) {\r |
40 | super(treePath);\r | |
41 | \r | |
42 | this.id = identification;\r | |
79cb6fdb | 43 | this.xmlSpd = spd;\r |
44 | }\r | |
45 | \r | |
46 | public PackageSurfaceAreaDocument.PackageSurfaceArea getXmlSpd() {\r | |
47 | return xmlSpd;\r | |
48 | }\r | |
49 | \r | |
50 | public void setXmlSpd(PackageSurfaceAreaDocument.PackageSurfaceArea xmlSpd) {\r | |
51 | this.xmlSpd = xmlSpd;\r | |
52 | }\r | |
739c6b04 | 53 | \r |
54 | public PackageIdentification getId() {\r | |
55 | return id;\r | |
56 | }\r | |
57 | \r | |
58 | public void setId(PackageIdentification id) {\r | |
59 | this.id = id;\r | |
60 | }\r | |
79cb6fdb | 61 | }\r |