<commit_before>package nl.mpi.kinnate.ui.menu;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.net.URI;
import java.net.URISyntaxException;
import javax.swing.JMenu;
import javax.swing.JMenuItem;
import nl.mpi.arbil.util.BugCatcherManager;
import nl.mpi.arbil.util.MessageDialogHandler;
import nl.mpi.kinnate.ui.window.AbstractDiagramManager;

/**
 *  Document   : RecentFileMenu
 *  Created on : Apr 15, 2011, 11:30:39 AM
 *  Author     : <NAME>
 */
public class SamplesFileMenu extends JMenu implements ActionListener {

    private AbstractDiagramManager diagramWindowManager;
    private MessageDialogHandler dialogHandler;

    public SamplesFileMenu(AbstractDiagramManager diagramWindowManager, MessageDialogHandler dialogHandler) {
        this.diagramWindowManager = diagramWindowManager;
        this.dialogHandler = dialogHandler;
        addSampleToMenu("Freeform Diagram Syntax", "FreeformDiagramSyntax.svg");
        addSampleToMenu("Query Diagram Syntax", "QueryDiagramSyntax.svg");
        addSampleToMenu("Application Overview", "ApplicationOverview.svg");
        addSampleToMenu("Hawaiian Kin Terms", "HawaiianKinTerms.svg");
        addSampleToMenu("Japanese Kin Terms", "JapaneseKinTerms.svg");
        addSampleToMenu("Japanese Kin Terms (simplified)", "JapaneseKinTermsStyle1.svg");
        addSampleToMenu("Swedish Kin Terms", "SwedishKinTerms.svg");
//        addSampleToMenu("Custom Symbols", "CustomSymbols.svg");
        addSampleToMenu("Named Transient Entities", "NamedTransientEntities.svg");
//        addSampleToMenu("Cha'palaa Kin Terms", "ChapalaaKinTerms.svg");
//        addSampleToMenu("Gendered Ego", "GenderedEgo.svg");
//        addSampleToMenu("Olivier Kyburz Examples", "N40.svg");
        addSampleToMenu("Matrimonial Ring Examples", "MatrimonialRings.svg");<commit_msg>Updated the sample diagrams to the recent code changes. Removed old data structures from the sample diagrams. Added recent symbols and symbol query defaults. Updated the default label queries for the final data format.<commit_after>package nl.mpi.kinnate.ui.menu;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.net.URI;
import java.net.URISyntaxException;
import javax.swing.JMenu;
import javax.swing.JMenuItem;
import nl.mpi.arbil.util.BugCatcherManager;
import nl.mpi.arbil.util.MessageDialogHandler;
import nl.mpi.kinnate.ui.window.AbstractDiagramManager;

/**
 *  Document   : RecentFileMenu
 *  Created on : Apr 15, 2011, 11:30:39 AM
 *  Author     : <NAME>
 */
public class SamplesFileMenu extends JMenu implements ActionListener {

    private AbstractDiagramManager diagramWindowManager;
    private MessageDialogHandler dialogHandler;

    public SamplesFileMenu(AbstractDiagramManager diagramWindowManager, MessageDialogHandler dialogHandler) {
        this.diagramWindowManager = diagramWindowManager;
        this.dialogHandler = dialogHandler;
        addSampleToMenu("Freeform Diagram Syntax", "FreeformDiagramSyntax.svg");
        addSampleToMenu("Query Diagram Syntax", "QueryDiagramSyntax.svg");
        addSampleToMenu("Application Overview", "ApplicationOverview.svg");
        addSampleToMenu("Hawaiian Kin Terms", "HawaiianKinTerms.svg");
        addSampleToMenu("Japanese Kin Terms", "JapaneseKinTerms.svg");
//        addSampleToMenu("Japanese Kin Terms (simplified)", "JapaneseKinTermsStyle1.svg");
        addSampleToMenu("Swedish Kin Terms", "SwedishKinTerms.svg");
//        addSampleToMenu("Custom Symbols", "CustomSymbols.svg");
        addSampleToMenu("Named Transient Entities", "NamedTransientEntities.svg");
//        addSampleToMenu("Cha'palaa Kin Terms", "ChapalaaKinTerms.svg");
//        addSampleToMenu("Gendered Ego", "GenderedEgo.svg");
//        addSampleToMenu("Olivier Kyburz Examples", "N40.svg");
        addSampleToMenu("Matrimonial Ring Examples", "MatrimonialRings.svg");
{'fraction_non_alphanumeric': 0.10488616014325915, 'fraction_numerical': 0.007674597083653108, 'mean_word_length': 4.766961651917404, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1115440', 'n_tokens_mistral': 1182, 'n_tokens_neox': 1102, 'n_words': 238}