diff options
author | jlin16 <jlin16@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-06-20 08:43:00 +0000 |
---|---|---|
committer | jlin16 <jlin16@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-06-20 08:43:00 +0000 |
commit | c082c8cffe418d9e4b3e89f322fe0ff0365cedfa (patch) | |
tree | 10a9cc756bff33797355b8adef7713119994a161 /Tools/Source/ModuleEditor | |
parent | 41eec21d72be98d383bf146644d7ccc17b2f88f7 (diff) | |
download | edk2-platforms-c082c8cffe418d9e4b3e89f322fe0ff0365cedfa.tar.xz |
Adpate to schema merge.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@572 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/Source/ModuleEditor')
-rw-r--r-- | Tools/Source/ModuleEditor/src/org/tianocore/packaging/module/ui/MsaHeader.java | 22 | ||||
-rw-r--r-- | Tools/Source/ModuleEditor/src/org/tianocore/packaging/module/ui/MsaLibHeader.java | 21 |
2 files changed, 15 insertions, 28 deletions
diff --git a/Tools/Source/ModuleEditor/src/org/tianocore/packaging/module/ui/MsaHeader.java b/Tools/Source/ModuleEditor/src/org/tianocore/packaging/module/ui/MsaHeader.java index e1682887c5..7edf49a3ff 100644 --- a/Tools/Source/ModuleEditor/src/org/tianocore/packaging/module/ui/MsaHeader.java +++ b/Tools/Source/ModuleEditor/src/org/tianocore/packaging/module/ui/MsaHeader.java @@ -462,11 +462,10 @@ public class MsaHeader extends IInternalFrame { this.jTextAreaDescription.setText(this.msaHeader.getDescription());
}
if (this.msaHeader.getSpecification() != null) {
- this.jTextFieldSpecification.setText(this.msaHeader.getSpecification().getStringValue());
+ this.jTextFieldSpecification.setText(this.msaHeader.getSpecification());
}
if (this.msaHeader.getAbstract() != null) {
- this.jTextFieldAbstract.setText(this.msaHeader.getAbstract().getStringValue());
- this.jTextFieldAbstractURL.setText(this.msaHeader.getAbstract().getURL());
+ this.jTextFieldAbstract.setText(this.msaHeader.getAbstract());
}
if (this.msaHeader.getModuleType() != null) {
this.jComboBoxModuleType.setSelectedItem(this.msaHeader.getModuleType().toString());
@@ -703,22 +702,17 @@ public class MsaHeader extends IInternalFrame { this.msaHeader.setDescription(this.jTextAreaDescription.getText());
if (this.msaHeader.getSpecification() != null) {
- this.msaHeader.getSpecification().setStringValue(this.jTextFieldSpecification.getText());
+ this.msaHeader.setSpecification(this.jTextFieldSpecification.getText());
} else {
- SpecificationDocument.Specification mSpecification = SpecificationDocument.Specification.Factory
- .newInstance();
- mSpecification.setStringValue(this.jTextFieldSpecification.getText());
- this.msaHeader.setSpecification(mSpecification);
+
+ this.msaHeader.setSpecification(this.jTextFieldSpecification.getText());
}
if (this.msaHeader.getAbstract() != null) {
- this.msaHeader.getAbstract().setStringValue(this.jTextFieldAbstract.getText());
- this.msaHeader.getAbstract().setURL(this.jTextFieldAbstractURL.getText());
+ this.msaHeader.setAbstract(this.jTextFieldAbstract.getText());
} else {
- AbstractDocument.Abstract mAbstract = AbstractDocument.Abstract.Factory.newInstance();
- mAbstract.setStringValue(this.jTextFieldAbstract.getText());
- mAbstract.setURL(this.jTextFieldAbstractURL.getText());
- this.msaHeader.setAbstract(mAbstract);
+
+ this.msaHeader.setAbstract(this.jTextFieldAbstract.getText());
}
this.msaHeader.setModuleType(ModuleTypeDef.Enum.forString(this.jComboBoxModuleType.getSelectedItem()
.toString()));
diff --git a/Tools/Source/ModuleEditor/src/org/tianocore/packaging/module/ui/MsaLibHeader.java b/Tools/Source/ModuleEditor/src/org/tianocore/packaging/module/ui/MsaLibHeader.java index c35c84f6d7..9940f75f47 100644 --- a/Tools/Source/ModuleEditor/src/org/tianocore/packaging/module/ui/MsaLibHeader.java +++ b/Tools/Source/ModuleEditor/src/org/tianocore/packaging/module/ui/MsaLibHeader.java @@ -434,11 +434,10 @@ public class MsaLibHeader extends IInternalFrame { this.jTextAreaDescription.setText(this.msaLibHeader.getDescription());
}
if (this.msaLibHeader.getSpecification() != null) {
- this.jTextFieldSpecification.setText(this.msaLibHeader.getSpecification().getStringValue());
+ this.jTextFieldSpecification.setText(this.msaLibHeader.getSpecification());
}
if (this.msaLibHeader.getAbstract() != null) {
- this.jTextFieldAbstract.setText(this.msaLibHeader.getAbstract().getStringValue());
- this.jTextFieldAbstractURL.setText(this.msaLibHeader.getAbstract().getURL());
+ this.jTextFieldAbstract.setText(this.msaLibHeader.getAbstract());
}
if (this.msaLibHeader.getModuleType() != null) {
this.jComboBoxModuleType.setSelectedItem(this.msaLibHeader.getModuleType().toString());
@@ -704,22 +703,16 @@ public class MsaLibHeader extends IInternalFrame { this.msaLibHeader.setDescription(this.jTextAreaDescription.getText());
if (this.msaLibHeader.getSpecification() != null) {
- this.msaLibHeader.getSpecification().setStringValue(this.jTextFieldSpecification.getText());
+ this.msaLibHeader.setSpecification(this.jTextFieldSpecification.getText());
} else {
- SpecificationDocument.Specification mSpecification = SpecificationDocument.Specification.Factory
- .newInstance();
- mSpecification.setStringValue(this.jTextFieldSpecification.getText());
- this.msaLibHeader.setSpecification(mSpecification);
+ this.msaLibHeader.setSpecification(this.jTextFieldSpecification.getText());
}
if (this.msaLibHeader.getAbstract() != null) {
- this.msaLibHeader.getAbstract().setStringValue(this.jTextFieldAbstract.getText());
- this.msaLibHeader.getAbstract().setURL(this.jTextFieldAbstractURL.getText());
+ this.msaLibHeader.setAbstract(this.jTextFieldAbstract.getText());
} else {
- AbstractDocument.Abstract mAbstract = AbstractDocument.Abstract.Factory.newInstance();
- mAbstract.setStringValue(this.jTextFieldAbstract.getText());
- mAbstract.setURL(this.jTextFieldAbstractURL.getText());
- this.msaLibHeader.setAbstract(mAbstract);
+
+ this.msaLibHeader.setAbstract(this.jTextFieldAbstract.getText());
}
this.msaLibHeader.setModuleType(ModuleTypeDef.Enum.forString(this.jComboBoxModuleType.getSelectedItem()
|