X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Tools%2FJava%2FSource%2FFrameworkWizard%2Fsrc%2Forg%2Ftianocore%2Fframeworkwizard%2Fmodule%2Fui%2FModuleSystemTables.java;h=29bed2b07cd07eb2eeb14598983680e96e163178;hb=a9e882c96dd107020c423a0788778d1cf8bef933;hp=46a336a07571d984a3ce195a9e2f4581be265e0c;hpb=3767c118ef911001f4b3dd0cefcaef3402f0fecf;p=mirror_edk2.git diff --git a/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/ModuleSystemTables.java b/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/ModuleSystemTables.java index 46a336a075..29bed2b07c 100644 --- a/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/ModuleSystemTables.java +++ b/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/ModuleSystemTables.java @@ -90,6 +90,8 @@ public class ModuleSystemTables extends IInternalFrame { private IDefaultTableModel model = null; private int selectedRow = -1; + + private IFrame parentFrame = null; /** This method initializes jButtonAdd @@ -256,10 +258,11 @@ public class ModuleSystemTables extends IInternalFrame { @param inSystemTables The input data of SystemTablesDocument.SystemTables **/ - public ModuleSystemTables(OpeningModuleType inOmt) { + public ModuleSystemTables(OpeningModuleType inOmt, IFrame iFrame) { super(); this.omt = inOmt; this.msa = omt.getXmlMsa(); + this.parentFrame = iFrame; init(msa.getSystemTables()); this.setVisible(true); } @@ -286,7 +289,7 @@ public class ModuleSystemTables extends IInternalFrame { } private void showEdit(int index) { - SystemTablesDlg dlg = new SystemTablesDlg(vid.getSystemTables(index), new IFrame(), omt.getId()); + SystemTablesDlg dlg = new SystemTablesDlg(vid.getSystemTables(index), this.parentFrame, omt.getId()); int result = dlg.showDialog(); if (result == DataType.RETURN_TYPE_OK) { if (index == -1) {