diff options
author | jlin16 <jlin16@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-09-22 03:23:44 +0000 |
---|---|---|
committer | jlin16 <jlin16@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-09-22 03:23:44 +0000 |
commit | 423ba71f85f3aa58d3d2c3c4d02c51917a935cb6 (patch) | |
tree | db5ac49825a6088db0501adc1d41121b54acb38e /Tools | |
parent | 503fefccb2bb6cbe766b6dd0ac67402e76bcc9d3 (diff) | |
download | edk2-platforms-423ba71f85f3aa58d3d2c3c4d02c51917a935cb6.tar.xz |
Fix row out of order problem for Module order In FV editor.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1594 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdFlash.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdFlash.java b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdFlash.java index 482188dcba..869b3b6085 100644 --- a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdFlash.java +++ b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdFlash.java @@ -2660,7 +2660,7 @@ public class FpdFlash extends IInternalFrame { jTableModInFv.setRowHeight(20);
jTableModInFv.setShowGrid(false);
-// jTableModInFv.setAutoCreateColumnsFromModel(false);
+ jTableModInFv.setAutoCreateColumnsFromModel(false);
jTableModInFv.addMouseListener(new MouseAdapter() {
/* (non-Javadoc)
@@ -2778,7 +2778,7 @@ public class FpdFlash extends IInternalFrame { }
jTableFpdModules.setRowHeight(20);
jTableFpdModules.setShowGrid(false);
-// jTableFpdModules.setAutoCreateColumnsFromModel(false);
+ jTableFpdModules.setAutoCreateColumnsFromModel(false);
jTableFpdModules.addMouseListener(new MouseAdapter() {
/* (non-Javadoc)
@@ -2852,12 +2852,12 @@ public class FpdFlash extends IInternalFrame { }
int rowInModel = ((TableSorter)jTableFpdModules.getModel()).getModelRowIndex(selectedRowRight);
- String name = fpdModTableModel.getValueAt(selectedRowRight, 0)+"";
- String mg = fpdModTableModel.getValueAt(selectedRowRight, 1)+"";
- String mv = fpdModTableModel.getValueAt(selectedRowRight, 2)+"";
- String pg = fpdModTableModel.getValueAt(selectedRowRight, 3)+"";
- String pv = fpdModTableModel.getValueAt(selectedRowRight, 4)+"";
- String arch = fpdModTableModel.getValueAt(selectedRowRight, 5)+"";
+ String name = fpdModTableModel.getValueAt(rowInModel, 0)+"";
+ String mg = fpdModTableModel.getValueAt(rowInModel, 1)+"";
+ String mv = fpdModTableModel.getValueAt(rowInModel, 2)+"";
+ String pg = fpdModTableModel.getValueAt(rowInModel, 3)+"";
+ String pv = fpdModTableModel.getValueAt(rowInModel, 4)+"";
+ String arch = fpdModTableModel.getValueAt(rowInModel, 5)+"";
String[] row = {name, mg, mv, pg, pv, arch};
if (name.length() == 0 || name.equals("N/A")) {
return;
|