diff options
author | jlin16 <jlin16@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-08-15 23:24:24 +0000 |
---|---|---|
committer | jlin16 <jlin16@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-08-15 23:24:24 +0000 |
commit | f4c4325bb4b4968a18658c34b9f9c908cef9e706 (patch) | |
tree | 1fed332fbae62d46d4c8ee25b6931283053b66d8 | |
parent | df4b9c3ecc06e787b975ae17cf3f5a352918b60f (diff) | |
download | edk2-platforms-f4c4325bb4b4968a18658c34b9f9c908cef9e706.tar.xz |
sort modules by name alphabetically when start; make column width resizable and remove unused code in FpdModuleSA.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1285 6f19259b-4bc3-4df7-8a09-765794883524
2 files changed, 8 insertions, 11 deletions
diff --git a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdFrameworkModules.java b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdFrameworkModules.java index c8f9afc60c..d64b00329f 100644 --- a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdFrameworkModules.java +++ b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdFrameworkModules.java @@ -277,7 +277,7 @@ public class FpdFrameworkModules extends IInternalFrame { column.setMinWidth(pathMinWidth);
jTableAllModules.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
- // jTableAllModules.setAutoResizeMode(javax.swing.JTable.AUTO_RESIZE_OFF);
+ jTableAllModules.setAutoResizeMode(javax.swing.JTable.AUTO_RESIZE_OFF);
}
return jTableAllModules;
}
@@ -477,7 +477,7 @@ public class FpdFrameworkModules extends IInternalFrame { column.setMinWidth(pathMinWidth);
jTableFpdModules.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
- // jTableFpdModules.setAutoResizeMode(javax.swing.JTable.AUTO_RESIZE_OFF);
+ jTableFpdModules.setAutoResizeMode(javax.swing.JTable.AUTO_RESIZE_OFF);
}
return jTableFpdModules;
}
@@ -656,6 +656,8 @@ public class FpdFrameworkModules extends IInternalFrame { al.add(saa[i][ffcModArch]);
}
+ TableSorter sorter = (TableSorter)jTableFpdModules.getModel();
+ sorter.setSortingStatus(modNameColForFpdModTable, TableSorter.ASCENDING);
}
showAllModules();
@@ -693,6 +695,9 @@ public class FpdFrameworkModules extends IInternalFrame { miList.add(mi);
}
}
+
+ TableSorter sorter = (TableSorter)jTableAllModules.getModel();
+ sorter.setSortingStatus(modNameColForAllModTable, TableSorter.ASCENDING);
}
/**
diff --git a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdModuleSA.java b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdModuleSA.java index 5ebcb20d39..0ab921b74e 100644 --- a/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdModuleSA.java +++ b/Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdModuleSA.java @@ -259,15 +259,7 @@ public class FpdModuleSA extends JDialog implements ActionListener { this.classProduced.add(classProduced[i]);
}
}
- //
- // Get classes unresolved
- //
-// Iterator<String> lip = this.classProduced.listIterator();
-// while(lip.hasNext()){
-// String clsProduced = lip.next();
-// this.classConsumed.remove(clsProduced);
-//
-// }
+
//
// find potential instances in all dependency pkgs for classes still in classConsumed.
//
|