X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=Tools%2FSource%2FFrameworkWizard%2Fsrc%2Forg%2Ftianocore%2Fframeworkwizard%2FFrameworkWizardUI.java;h=5efa81b25d2a1c2552161f353e8ae17dc1922b15;hp=0e0c54c345dcb3e7f1656aeaea43b3a3a26f72c7;hb=0e8d8bc75d4b513716d22e3e6d57a9a811f48091;hpb=e08433efeb382abec06fec875936586ee94d5e2a diff --git a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/FrameworkWizardUI.java b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/FrameworkWizardUI.java index 0e0c54c345..5efa81b25d 100644 --- a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/FrameworkWizardUI.java +++ b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/FrameworkWizardUI.java @@ -3636,7 +3636,7 @@ public class FrameworkWizardUI extends IFrame implements KeyListener, MouseListe // // Get guids xref and save to file // - int result = fc.showOpenDialog(new JPanel()); + int result = fc.showSaveDialog(new JPanel()); if (result == JFileChooser.APPROVE_OPTION) { Vector v = wt.getAllModuleGuidXref(); if (v.size() < 1) { @@ -3668,7 +3668,11 @@ public class FrameworkWizardUI extends IFrame implements KeyListener, MouseListe } catch (IOException e) { Log.wrn("Fail to write file", e.getMessage()); Log.err("Fail to write file when generating guids.xref", e.getMessage()); + return; } + + JOptionPane.showConfirmDialog(null, "File is created", "Generate guids.xref", JOptionPane.DEFAULT_OPTION, + JOptionPane.INFORMATION_MESSAGE); } } }