<commit_before>import javax.swing.JComponent;
import javax.swing.BoxLayout;
import javax.swing.JPanel;
import javax.swing.JButton;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import framework.editors.Editor;
import framework.Sound;
import framework.Player;
//import framework.views.TemporalView;

/**
 * Basic implementation of the framework.
 */
public class BasicEditor extends Editor {
    public BasicEditor(Player pl) {
        super(pl, "Basic Editor");
    }

    public JComponent createCentralComponent() {
        JPanel centralComponent = new JPanel();
        centralComponent.setLayout(new BoxLayout(
            centralComponent,
            BoxLayout.Y_AXIS));

        int i = 0;
        for(Sound s : player.getAllSounds()) {
            final Sound sound = s;

            JPanel linePanel = new JPanel();

            JLabel label = new JLabel("Sound " + i);
            linePanel.add(label);

            //TemporalView v = new TemporalView(200, 100);
            //s.attachView(v);
            //linePanel.add(v);

            JButton paramButton = new JButton(new ImageIcon("framework/editors/icons/settings.png"));<commit_msg>Add the view to the BasicEditor.<commit_after>import javax.swing.JComponent;
import javax.swing.BoxLayout;
import javax.swing.JPanel;
import javax.swing.JButton;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import framework.editors.Editor;
import framework.Sound;
import framework.Player;
import framework.views.TemporalView;

/**
 * Basic implementation of the framework.
 */
public class BasicEditor extends Editor {
    public BasicEditor(Player pl) {
        super(pl, "Basic Editor");
    }

    public JComponent createCentralComponent() {
        JPanel centralComponent = new JPanel();
        centralComponent.setLayout(new BoxLayout(
            centralComponent,
            BoxLayout.Y_AXIS));

        int i = 0;
        for(Sound s : player.getAllSounds()) {
            final Sound sound = s;

            JPanel linePanel = new JPanel();

            JLabel label = new JLabel("Sound " + i);
            linePanel.add(label);

            TemporalView v = new TemporalView(200, 100);
            s.attachView(v);
            linePanel.add(v);

            JButton paramButton = new JButton(new ImageIcon("framework/editors/icons/settings.png"));
{'fraction_non_alphanumeric': 0.1026983487716472, 'fraction_numerical': 0.005638340716874748, 'mean_word_length': 2.803981623277182, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '298692', 'n_tokens_mistral': 707, 'n_tokens_neox': 672, 'n_words': 170}