]>
git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/id/PlatformIdentification.java
499c66939deff7be29d8aeef94b73348ca6146a1
1 package org
.tianocore
.frameworkwizard
.platform
.ui
.id
;
4 import org
.tianocore
.frameworkwizard
.platform
.ui
.global
.GlobalData
;
6 public class PlatformIdentification
extends Identification
{
10 public PlatformIdentification(String name
, String guid
, String version
){
11 super(name
, guid
, version
);
14 public PlatformIdentification(String name
, String guid
, String version
, String fpdFilename
){
15 super(name
, guid
, version
);
16 this.fpdFile
= new File(fpdFilename
);
19 public PlatformIdentification(String name
, String guid
, String version
, File fpdFile
){
20 super(name
, guid
, version
);
21 this.fpdFile
= fpdFile
;
24 public String
toString(){
25 return "Platform " + name
+ "["+guid
+"]";
28 public void setFpdFile(File fpdFile
) {
29 this.fpdFile
= fpdFile
;
32 public File
getFpdFile() {
36 public String
getPlatformRelativeDir(){
37 return fpdFile
.getParent().substring(GlobalData
.getWorkspacePath().length());