Changeset 805 for java/installer2/src/net/oni2/aeinstaller/gui/modtable
- Timestamp:
- Apr 12, 2013, 6:11:49 PM (12 years ago)
- Location:
- java/installer2/src/net/oni2/aeinstaller/gui/modtable
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
java/installer2/src/net/oni2/aeinstaller/gui/modtable/ModTable.java
r773 r805 104 104 105 105 int sortCol = SettingsManager.getInstance().get("modSortColumn", 1); 106 SortOrder sortOrder = SortOrder.valueOf(SettingsManager.getInstance() .get(107 "modSortOrder", "ASCENDING"));106 SortOrder sortOrder = SortOrder.valueOf(SettingsManager.getInstance() 107 .get("modSortOrder", "ASCENDING")); 108 108 109 109 sortKeys.add(new RowSorter.SortKey(sortCol, sortOrder)); … … 221 221 * Type of mods to show (null for all) 222 222 * @param downloadState 223 * Show only: 0 = all, 1 = online, 2 = downloaded 223 * Show only: 0 = all, 1 = online, 2 = downloaded, 3 = installed 224 224 * @param filterString 225 225 * String to filter on … … 245 245 SortOrder so = keys.get(0).getSortOrder(); 246 246 SettingsManager.getInstance().put("modSortColumn", col); 247 SettingsManager.getInstance().put("modSortOrder", so.toString()); 247 SettingsManager.getInstance() 248 .put("modSortOrder", so.toString()); 248 249 } 249 250 } … … 346 347 TreeSet<Package> deps = new TreeSet<Package>(); 347 348 toDo.add(mod); 348 Downloader dl = new Downloader(toDo, deps, false); 349 Downloader dl = new Downloader(toDo, deps, 350 false); 349 351 try { 350 352 dl.setVisible(true); -
java/installer2/src/net/oni2/aeinstaller/gui/modtable/ModTableFilter.java
r660 r805 22 22 * Type of mods to show (null for all) 23 23 * @param downloadState 24 * Show only: 0 = all, 1 = online, 2 = downloaded 24 * Show only: 0 = all, 1 = online, 2 = downloaded, 3 = installed 25 25 * @param filterString 26 26 * Filter for the given string … … 67 67 result &= mod.isLocalAvailable(); 68 68 break; 69 case 3: 70 result &= mod.isInstalled(); 71 break; 69 72 } 70 73 if (filterString != null && filterString.length() > 1) {
Note:
See TracChangeset
for help on using the changeset viewer.