<commit_before>package eu.alebianco.intellij.tasks.bugzilla;

import com.intellij.openapi.project.Project;
import com.intellij.openapi.ui.ComboBox;
import com.intellij.tasks.config.BaseRepositoryEditor;
import com.intellij.ui.components.JBCheckBox;
import com.intellij.ui.components.JBLabel;
import com.intellij.util.Consumer;
import com.intellij.util.ui.FormBuilder;
import org.jetbrains.annotations.Nullable;

import javax.swing.*;

/**
 * Project: bugzilla-intellij-task-provider
 * <p/>
 * Author:  <NAME>
 * Website: http://alessandrobianco.eu
 * Twitter: @alebianco
 * Created: 17/02/2014 16:33
 * <p/>
 * Copyright © 2013 <NAME>
 */
public class BugzillaRepositoryEditor extends BaseRepositoryEditor<BugzillaRepository> {

    private ComboBox myProductCombobox;
    private JBLabel myComponentLabel;
    private ComboBox myComponentCombobox;
    private JBLabel myProductLabel;
    private JTextField myOtherUsersText;
    private JBLabel myOtherUsersLabel;
    private JBCheckBox myIncludeClosedCheck;
    private JBLabel myIncludeClosedLabel;

    public BugzillaRepositoryEditor(Project project, BugzillaRepository repository, Consumer<BugzillaRepository> consumer) {
        super(project, repository, consumer);
    }

    @Nullable
    @Override
    protected JComponent createCustomPanel() {
        myProductCombobox = new ComboBox(300);
        myProductLabel = new JBLabel("Product:", SwingConstants.RIGHT);
        myProductLabel.setLabelFor(myProductCombobox);

        myComponentCombobox = new ComboBox(300);
        myComponentLabel = new JBLabel("Component:", SwingConstants.RIGHT);
        myComponentLabel.setLabelFor(myComponentCombobox);

        myOtherUsersText = new JTextField("");
        myOtherUsersLabel = new JBLabel("Users:", SwingConstants.RIGHT);
        myOtherUsersLabel.setLabelFor(myOtherUsersText);

        myIncludeClosedCheck = new JBCheckBox();
        myIncludeClosedLabel = new JBLabel("Include closed:", SwingConstants.RIGHT);
        myIncludeClosedLabel.setLabelFor(myIncludeClosedCheck);

        return FormBuilder.createFormBuilder()
                .addLabeledComponent(myProductLabel, myProductCombobox)
                .addLabeledComponent(myComponentLabel, myComponentCombobox)
                .addLabeledComponent(myOtherUsersLabel, myOtherUsersText)
                .addLabeledComponent(myIncludeClosedLabel, myIncludeClosedCheck)
                .getPanel();
    }

    @Override
    public void apply() {
        super.apply();
        // TODO update changes into repository
    }

    @Override
    protected void afterTestConnection(boolean connectionSuccessful) {
        super.afterTestConnection(connectionSuccessful);
        if (connectionSuccessful) {
            // TODO update info in filtering tab
        }
    }
}<commit_msg>temporarily remove the custom edit panel<commit_after>package eu.alebianco.intellij.tasks.bugzilla;

import com.intellij.openapi.project.Project;
import com.intellij.tasks.config.BaseRepositoryEditor;
import com.intellij.util.Consumer;

/**
 * Project: bugzilla-intellij-task-provider
 * <p/>
 * Author:  <NAME>
 * Website: http://alessandrobianco.eu
 * Twitter: @alebianco
 * Created: 17/02/2014 16:33
 * <p/>
 * Copyright © 2013 <NAME>
 */
public class BugzillaRepositoryEditor extends BaseRepositoryEditor<BugzillaRepository> {

    public BugzillaRepositoryEditor(Project project, BugzillaRepository repository, Consumer<BugzillaRepository> consumer) {
        super(project, repository, consumer);
    }

    @Override
    public void apply() {
        super.apply();
    }

    @Override
    protected void afterTestConnection(boolean connectionSuccessful) {
        super.afterTestConnection(connectionSuccessful);
    }
}
{'fraction_non_alphanumeric': 0.09030010718113612, 'fraction_numerical': 0.010182207931404072, 'mean_word_length': 3.8606770833333335, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5528721', 'n_tokens_mistral': 1104, 'n_tokens_neox': 1015, 'n_words': 205}