public PartitionCountFilter getFilter() {
return new PartitionCountFilter(partition);
}
public JPanel getPanel(Filter filter) {
RangeUI ui = Lookup.getDefault().lookup(RangeUI.class);
if (ui != null) {
return ui.getPanel((PartitionCountFilter) filter);
}
return null;
}