class IntraEdgesFilterBuilder implements FilterBuilder {

        private final Partition partition;

        public IntraEdgesFilterBuilder(Partition partition) {
            this.partition = partition;
        }

        @Override
        public Category getCategory() {
            return INTRA_EDGES;
        }

        @Override
        public String getName() {
            return partition.getColumn().getTitle();
        }

        @Override
        public Icon getIcon() {
            return null;
        }

        @Override
        public String getDescription() {
            return NbBundle.getMessage(IntraEdgesBuilder.class, "IntraEdgesBuilder.description");
        }

        @Override
        public IntraEdgesFilter getFilter(Workspace workspace) {
            return new IntraEdgesFilter(partition);
        }

        @Override
        public JPanel getPanel(Filter filter) {<FILL_FUNCTION_BODY>}

        @Override
        public void destroy(Filter filter) {
        }
    }

            PartitionUI ui = Lookup.getDefault().lookup(PartitionUI.class);
            if (ui != null) {
                return ui.getPanel((PartitionFilter) filter);
            }
            return null;
        
<no_super_class>