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 804 by alloc, Fri Apr 12 15:57:57 2013 UTC vs.
Revision 805 by alloc, Fri Apr 12 16:11:49 2013 UTC

# Line 101 | Line 101 | public class MainWin extends JFrame impl
101          private JRadioButton radAll;
102          private JRadioButton radOnline;
103          private JRadioButton radLocal;
104 +        private JRadioButton radInstalled;
105          private JTextField txtShowFilter;
106          private JComboBox cmbShowFilterTo;
107          private JScrollPane scrollMods;
# Line 793 | Line 794 | public class MainWin extends JFrame impl
794          public void modSelectionChanged(ModTable source, Package m) {
795                  pkgInfo.updateInfo(m);
796          }
797 +        
798 +        @SuppressWarnings("unused")
799 +        private void clearFilter() {
800 +                txtShowFilter.setText("");
801 +                updateTableFilter();
802 +        }
803  
804          private void updateTableFilter() {
805                  Object o = cmbModTypes.getSelectedItem();
# Line 804 | Line 811 | public class MainWin extends JFrame impl
811                          downloadState = 1;
812                  if (radLocal.isSelected())
813                          downloadState = 2;
814 +                if (radInstalled.isSelected())
815 +                        downloadState = 3;
816                  tblMods.setFilter(t, downloadState, txtShowFilter.getText(),
817                                  (EApplyFilterTo) cmbShowFilterTo.getSelectedItem());
818          }

Diff Legend

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