public void stateChanged(ChangeEvent e) {
if (e.getSource() instanceof FilterUIModel) {
if (uiModel.getSelectedQuery() != null && filterButton.isSelected()) {
FilterController controller = Lookup.getDefault().lookup(FilterController.class);
controller.filterVisible(uiModel.getSelectedRoot());
} else if (uiModel.getSelectedQuery() != null && selectButton.isSelected()) {
FilterController controller = Lookup.getDefault().lookup(FilterController.class);
controller.selectVisible(uiModel.getSelectedRoot());
}
} else if (e.getSource() instanceof FilterModel) {