X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=Tools%2FJava%2FSource%2FFrameworkWizard%2Fsrc%2Forg%2Ftianocore%2Fframeworkwizard%2Fmodule%2Fui%2FModuleBuildOptions.java;h=178ae39981e035ef1710cd6b7b70da851eae26f0;hp=076f820ae8e44b1f56d6b134b9990c23f0f7c1af;hb=a9e882c96dd107020c423a0788778d1cf8bef933;hpb=5d074084333fc0c16198dcbcb59ef582e820ea12 diff --git a/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/ModuleBuildOptions.java b/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/ModuleBuildOptions.java index 076f820ae8..178ae39981 100644 --- a/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/ModuleBuildOptions.java +++ b/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/ModuleBuildOptions.java @@ -93,6 +93,8 @@ public class ModuleBuildOptions extends IInternalFrame { private IDefaultTableModel model = null; private int selectedRow = -1; + + private IFrame parentFrame = null; /** This method initializes jButtonAdd @@ -265,10 +267,11 @@ public class ModuleBuildOptions extends IInternalFrame { @param inBuildOptions The input BuildOptionsDocument.BuildOptions **/ - public ModuleBuildOptions(OpeningModuleType inOmt) { + public ModuleBuildOptions(OpeningModuleType inOmt, IFrame iFrame) { super(); this.omt = inOmt; this.msa = omt.getXmlMsa(); + this.parentFrame = iFrame; init(msa.getModuleBuildOptions()); this.setVisible(true); } @@ -294,7 +297,7 @@ public class ModuleBuildOptions extends IInternalFrame { } private void showEdit(int index) { - BuildOptionsDlg dlg = new BuildOptionsDlg(vid.getBuildOptions(index), new IFrame(), omt.getId()); + BuildOptionsDlg dlg = new BuildOptionsDlg(vid.getBuildOptions(index), this.parentFrame, omt.getId()); int result = dlg.showDialog(); if (result == DataType.RETURN_TYPE_OK) { if (index == -1) {