(C context, E element)
| 77 | } |
| 78 | |
| 79 | @Override |
| 80 | public boolean accept(C context, E element) |
| 81 | { |
| 82 | //if this button is not selected treat it as if |
| 83 | //this filter always accepts |
| 84 | return !isEnabled() || !isSelected() || filter.accept(context, element); |
| 85 | } |
| 86 | |
| 87 | @Override |
| 88 | public void actionPerformed(ActionEvent e) |