X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Tools%2FSource%2FFrameworkWizard%2Fsrc%2Forg%2Ftianocore%2Fframeworkwizard%2Fcommon%2FIdentifications%2FOpeningModuleType.java;h=2ead77a84f1b2043ae7b9ed949cb4b4128b9edd5;hb=739c6b04fd86cb47de673b1038bea336a7f3499c;hp=d44c86178d820577f6a504d67c9cc6b0274da945;hpb=4033708d7a5f6bc2b0d308239a3a43275ba25dc5;p=mirror_edk2.git diff --git a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/Identifications/OpeningModuleType.java b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/Identifications/OpeningModuleType.java index d44c86178d..2ead77a84f 100644 --- a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/Identifications/OpeningModuleType.java +++ b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/Identifications/OpeningModuleType.java @@ -18,6 +18,7 @@ package org.tianocore.frameworkwizard.common.Identifications; import javax.swing.tree.TreePath; import org.tianocore.ModuleSurfaceAreaDocument; +import org.tianocore.frameworkwizard.module.Identifications.ModuleIdentification; public class OpeningModuleType extends OpeningFileType{ // @@ -25,17 +26,21 @@ public class OpeningModuleType extends OpeningFileType{ // private ModuleSurfaceAreaDocument.ModuleSurfaceArea xmlMsa = null; + private ModuleIdentification id = null; + public OpeningModuleType() { } - public OpeningModuleType(Identification identification, ModuleSurfaceAreaDocument.ModuleSurfaceArea msa) { - super(identification); + public OpeningModuleType(ModuleIdentification identification, ModuleSurfaceAreaDocument.ModuleSurfaceArea msa) { + this.id = identification; this.xmlMsa = msa; } - public OpeningModuleType(Identification identification, ModuleSurfaceAreaDocument.ModuleSurfaceArea msa, TreePath treePath) { - super(identification, treePath); + public OpeningModuleType(ModuleIdentification identification, ModuleSurfaceAreaDocument.ModuleSurfaceArea msa, TreePath treePath) { + super(treePath); + + this.id = identification; this.xmlMsa = msa; } @@ -46,4 +51,12 @@ public class OpeningModuleType extends OpeningFileType{ public void setXmlMsa(ModuleSurfaceAreaDocument.ModuleSurfaceArea xmlMsa) { this.xmlMsa = xmlMsa; } + + public ModuleIdentification getId() { + return id; + } + + public void setId(ModuleIdentification id) { + this.id = id; + } }