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
This commit is contained in:
jlin16 2006-08-15 23:24:24 +00:00
parent df4b9c3ecc
commit f4c4325bb4
2 changed files with 8 additions and 11 deletions

View File

@ -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);
}
/**

View File

@ -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.
//