From: hche10x Date: Fri, 9 Jun 2006 08:30:43 +0000 (+0000) Subject: Fix one conflict with the latest schema X-Git-Tag: edk2-stable201903~25290 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=3099b289e689b3167e683ae994fcb71972f00125 Fix one conflict with the latest schema git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@453 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/Tools/Source/ModuleEditor/src/org/tianocore/packaging/module/ui/ModuleMain.java b/Tools/Source/ModuleEditor/src/org/tianocore/packaging/module/ui/ModuleMain.java index 883c0a5f60..e47dfb795e 100644 --- a/Tools/Source/ModuleEditor/src/org/tianocore/packaging/module/ui/ModuleMain.java +++ b/Tools/Source/ModuleEditor/src/org/tianocore/packaging/module/ui/ModuleMain.java @@ -2126,7 +2126,7 @@ public class ModuleMain extends IFrame implements MouseListener, TreeSelectionLi for (int indexI = 0; indexI < xmlst.getSystemTableList().size(); indexI++) { dmtnSystemTables .add(new IDefaultMutableTreeNode( - xmlst.getSystemTableArray(indexI).getEntry(), + xmlst.getSystemTableArray(indexI).getEntryList().get(0), IDefaultMutableTreeNode.SYSTEMTABLES_SYSTEMTABLE_ITEM, IDefaultMutableTreeNode.OPERATION_UPDATE_DELETE, indexI)); diff --git a/Tools/Source/ModuleEditor/src/org/tianocore/packaging/module/ui/ModuleSystemTables.java b/Tools/Source/ModuleEditor/src/org/tianocore/packaging/module/ui/ModuleSystemTables.java index aff195ea5b..185ace3493 100644 --- a/Tools/Source/ModuleEditor/src/org/tianocore/packaging/module/ui/ModuleSystemTables.java +++ b/Tools/Source/ModuleEditor/src/org/tianocore/packaging/module/ui/ModuleSystemTables.java @@ -208,8 +208,8 @@ public class ModuleSystemTables extends IInternalFrame { init(inSystemTables); this.location = index; if (this.systemTables.getSystemTableList().size() > 0) { - if (this.systemTables.getSystemTableArray(index).getEntry() != null) { - this.jTextFieldEntry.setText(this.systemTables.getSystemTableArray(index).getEntry()); + if (this.systemTables.getSystemTableArray(index).getEntryList() != null) { + this.jTextFieldEntry.setText(this.systemTables.getSystemTableArray(index).getEntryList().get(0)); } if (this.systemTables.getSystemTableArray(index).getUsage() != null) { this.jComboBoxUsage.setSelectedItem(this.systemTables.getSystemTableArray(index).getUsage().toString()); @@ -374,7 +374,7 @@ public class ModuleSystemTables extends IInternalFrame { } SystemTablesDocument.SystemTables.SystemTable systemTable = SystemTablesDocument.SystemTables.SystemTable.Factory .newInstance(); - systemTable.setEntry(this.jTextFieldEntry.getText()); + //systemTable.setEntry(this.jTextFieldEntry.getText()); systemTable.setUsage(SystemTableUsage.Enum.forString(jComboBoxUsage.getSelectedItem().toString())); if (!isEmpty(this.jTextFieldOverrideID.getText())) {