ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/java/installer2/src/net/oni2/aeinstaller/gui/MainWin.java
(Generate patch)

Comparing java/installer2/src/net/oni2/aeinstaller/gui/MainWin.java (file contents):
Revision 1023 by alloc, Sat May 30 13:14:44 2015 UTC vs.
Revision 1032 by alloc, Tue Mar 15 15:47:02 2016 UTC

# Line 195 | Line 195 | public class MainWin extends JFrame impl
195          private void initModTypeBox() {
196                  cmbModTypes.removeAllItems();
197  
198 <                TreeMap<String, Type> types = new TreeMap<String, Type>();
199 <                for (Type t : PackageManager.getInstance().getTypesWithContent()) {
198 >                TreeMap<String, net.oni2.aeinstaller.backend.packages.Type> types = new TreeMap<String, net.oni2.aeinstaller.backend.packages.Type>();
199 >                for (net.oni2.aeinstaller.backend.packages.Type t : PackageManager.getInstance().getTypesWithContent()) {
200                          types.put(t.getName(), t);
201                  }
202                  cmbModTypes.addItem("-All-");
203 <                for (Type t : types.values()) {
203 >                for (net.oni2.aeinstaller.backend.packages.Type t : types.values()) {
204                          cmbModTypes.addItem(t);
205                  }
206                  cmbModTypes.setSelectedIndex(0);
# Line 939 | Line 939 | public class MainWin extends JFrame impl
939  
940          private void updateTableFilter() {
941                  Object o = cmbModTypes.getSelectedItem();
942 <                Type t = null;
943 <                if (o instanceof Type)
944 <                        t = (Type) o;
942 >                net.oni2.aeinstaller.backend.packages.Type t = null;
943 >                if (o instanceof net.oni2.aeinstaller.backend.packages.Type)
944 >                        t = (net.oni2.aeinstaller.backend.packages.Type) o;
945                  int downloadState = 0;
946                  if (radOnline.isSelected())
947                          downloadState = 1;

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)