<commit_before>/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package music_thing;

import java.net.URL;
import java.util.ResourceBundle;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Alert;
import javafx.scene.control.Alert.AlertType;
import javafx.scene.control.TextField;
import javafx.stage.Stage;
import org.controlsfx.control.Rating;

/**
 * FXML Controller class
 *
 * @author joshuakaplan
 */
public class EditTrackController implements Initializable {
    @FXML
    private TextField editName;
    @FXML
    private TextField editArtist;
    @FXML
    private TextField editComposer;
    @FXML
    private TextField editGenre;
    @FXML
    private TextField editAlbum;
    @FXML
    private Rating editRating;
    
    private Track track;
    private Stage dialogStage;
    private boolean okClicked = false;

    /**<commit_msg>Some menu items now work with keyboard shortcuts. Edit menu changed to Track. Play, Pause, Stop, Next Track, Previous Track added in menu Track. Ratings now editable in properties by clicking stars.<commit_after>/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package music_thing;

import java.net.URL;
import java.util.ResourceBundle;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.TextField;
import javafx.stage.Stage;
import org.controlsfx.control.Rating;

/**
 * FXML Controller class
 *
 * @author joshuakaplan
 */
public class EditTrackController implements Initializable {
    @FXML
    private TextField editName;
    @FXML
    private TextField editArtist;
    @FXML
    private TextField editComposer;
    @FXML
    private TextField editGenre;
    @FXML
    private TextField editAlbum;
    @FXML
    private Rating editRating;
    
    private Track track;
    private Stage dialogStage;
    private boolean okClicked = false;

    /**
{'fraction_non_alphanumeric': 0.07139524031731218, 'fraction_numerical': 0.0, 'mean_word_length': 3.753880266075388, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '3744154', 'n_tokens_mistral': 616, 'n_tokens_neox': 603, 'n_words': 209}