]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/Identifications/OpeningPlatformType.java
Retiring the ANT/JAVA build and removing the older EDK II packages that required...
[mirror_edk2.git] / Tools / Java / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / common / Identifications / OpeningPlatformType.java
diff --git a/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/Identifications/OpeningPlatformType.java b/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/Identifications/OpeningPlatformType.java
deleted file mode 100644 (file)
index 7a822c9..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-/** @file\r
\r
- The file is used to define opening platform type\r
-  \r
- Copyright (c) 2006, Intel Corporation\r
- All rights reserved. This program and the accompanying materials\r
- are licensed and made available under the terms and conditions of the BSD License\r
- which accompanies this distribution.  The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php\r
\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
- **/\r
-package org.tianocore.frameworkwizard.common.Identifications;\r
-\r
-import java.io.IOException;\r
-\r
-import org.apache.xmlbeans.XmlException;\r
-import org.tianocore.PlatformSurfaceAreaDocument;\r
-import org.tianocore.frameworkwizard.common.Log;\r
-import org.tianocore.frameworkwizard.common.OpenFile;\r
-import org.tianocore.frameworkwizard.platform.PlatformIdentification;\r
-\r
-public class OpeningPlatformType extends OpeningFileType {\r
-    //\r
-    // Define class members\r
-    //\r
-    private PlatformSurfaceAreaDocument.PlatformSurfaceArea xmlFpd = null;\r
-    \r
-    private PlatformIdentification id = null;\r
-    \r
-    public OpeningPlatformType() {\r
-        \r
-    }\r
-    \r
-    public OpeningPlatformType(PlatformIdentification identification, PlatformSurfaceAreaDocument.PlatformSurfaceArea fpd) {\r
-        this.id = identification;\r
-        this.xmlFpd = fpd;\r
-    }\r
-    \r
-    public PlatformSurfaceAreaDocument.PlatformSurfaceArea getXmlFpd() {\r
-        return xmlFpd;\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
-    public void reload() {\r
-        if (this.id != null) {\r
-            String path = id.getPath();\r
-            if (path.length() > 0) {\r
-                try {\r
-                    this.xmlFpd = OpenFile.openFpdFile(id.getPath());\r
-                } catch (IOException e) {\r
-                    Log.err("Open Platform Surface Area " + path, e.getMessage());\r
-                } catch (XmlException e) {\r
-                    Log.err("Open Platform Surface Area " + path, e.getMessage());\r
-                } catch (Exception e) {\r
-                    Log.err("Open Platform Surface Area " + path, "Invalid file type");\r
-                }\r
-            }\r
-        }\r
-    }\r
-}\r