diff options
author | hche10x <hche10x@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-09-19 02:14:15 +0000 |
---|---|---|
committer | hche10x <hche10x@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-09-19 02:14:15 +0000 |
commit | d1760183fdfac71899bbe0c41894dd34ee022da1 (patch) | |
tree | 1f3a517cf02333fd6b029cefc8c087059ac09f55 /Tools/Source | |
parent | 13bb49b1fb766aa3b7c5fd8593822d95a8e068af (diff) | |
download | edk2-platforms-d1760183fdfac71899bbe0c41894dd34ee022da1.tar.xz |
1. Fix EDKT277 "ModuleType missing when creating a new Module"
2. Fix EDKT278 "Can NOT save file after generate a new GUID for a MSA"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1555 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/Source')
-rw-r--r-- | Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/SelectModuleBelong.java | 2 | ||||
-rw-r--r-- | Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/MsaHeader.java | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/SelectModuleBelong.java b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/SelectModuleBelong.java index 7084e75dac..da971b9fa6 100644 --- a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/SelectModuleBelong.java +++ b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/SelectModuleBelong.java @@ -28,6 +28,7 @@ import javax.swing.JLabel; import javax.swing.JPanel;
import javax.swing.JTextField;
+import org.tianocore.ModuleTypeDef;
import org.tianocore.MsaHeaderDocument;
import org.tianocore.SpdHeaderDocument;
import org.tianocore.ModuleSurfaceAreaDocument.ModuleSurfaceArea;
@@ -593,6 +594,7 @@ public class SelectModuleBelong extends IDialog { msaHeader.setModuleName(this.jTextFieldName.getText());
msaHeader.setGuidValue(this.jTextFieldGuid.getText());
msaHeader.setVersion(this.jTextFieldVersion.getText());
+ msaHeader.setModuleType(ModuleTypeDef.BASE);
msa.setMsaHeader(msaHeader);
} catch (Exception e) {
diff --git a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/MsaHeader.java b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/MsaHeader.java index a180910a9f..9cf0d380e0 100644 --- a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/MsaHeader.java +++ b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/MsaHeader.java @@ -928,6 +928,8 @@ public class MsaHeader extends IInternalFrame { }
if (arg0.getSource() == jButtonGenerateGuid) {
jTextFieldGuid.setText(Tools.generateUuidString());
+ jTextFieldGuid.requestFocus();
+ jButtonGenerateGuid.requestFocus();
}
}
|