<commit_before>/*
 * @(#)ExtGenDocument.java          0.9 05/21/2003
 *
 * Copyright (c) 2001-2002 Oak Ridge National Laboratory
 * Oak Ridge, Tenessee 37831, U.S.A.
 * All rights reserved.
 *
 */

package xal.app.extlatgenerator;

import java.util.*;
import java.net.*;
import java.io.*;
import javax.swing.*;
import javax.swing.text.*;
import java.awt.event.*;
import javax.swing.event.*;
import javax.swing.JToggleButton.ToggleButtonModel;

import xal.extension.smf.application.*;
import xal.extension.application.*;

import xal.smf.*;
import xal.smf.data.*;
import xal.sim.slg.*;   // for lattice generation
import xal.extension.extlatgen.*; // t3d and dynac adaptor
import xal.model.probe.*;  // Probe for t3d header
import xal.model.xml.*;
import xal.model.xml.ParsingException;
import xal.model.alg.*;
import xal.sim.scenario.Scenario;
import xal.sim.scenario.*;

import xal.tools.apputils.SimpleProbeEditor;
import xal.service.pvlogger.apputils.browser.PVLogSnapshotChooser;
import xal.tools.xml.*;
import xal.tools.data.*;

/**
 * ExtGenDocument is a custom AcceleratorDocument for generating external lattice input file application.<commit_msg>-n  Rename the widgets extension package to be distinct from the core.<commit_after>/*
 * @(#)ExtGenDocument.java          0.9 05/21/2003
 *
 * Copyright (c) 2001-2002 Oak Ridge National Laboratory
 * Oak Ridge, Tenessee 37831, U.S.A.
 * All rights reserved.
 *
 */

package xal.app.extlatgenerator;

import java.util.*;
import java.net.*;
import java.io.*;
import javax.swing.*;
import javax.swing.text.*;
import java.awt.event.*;
import javax.swing.event.*;
import javax.swing.JToggleButton.ToggleButtonModel;

import xal.extension.smf.application.*;
import xal.extension.application.*;

import xal.smf.*;
import xal.smf.data.*;
import xal.sim.slg.*;   // for lattice generation
import xal.extension.extlatgen.*; // t3d and dynac adaptor
import xal.model.probe.*;  // Probe for t3d header
import xal.model.xml.*;
import xal.model.xml.ParsingException;
import xal.model.alg.*;
import xal.sim.scenario.Scenario;
import xal.sim.scenario.*;

import xal.extension.widgets.apputils.SimpleProbeEditor;
import xal.service.pvlogger.apputils.browser.PVLogSnapshotChooser;
import xal.tools.xml.*;
import xal.tools.data.*;

/**
 * ExtGenDocument is a custom AcceleratorDocument for generating external lattice input file application.
{'fraction_non_alphanumeric': 0.13336137989061841, 'fraction_numerical': 0.02103491796381994, 'mean_word_length': 4.214912280701754, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '6979382', 'n_tokens_mistral': 806, 'n_tokens_neox': 755, 'n_words': 194}