<?xml version="1.0" encoding="UTF-8" ?>

<Form version="1.5" maxVersion="1.5" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
  <AuxValues>
    <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
    <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
    <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
    <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
    <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="2"/>
    <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
    <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
    <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
  </AuxValues>

  <Layout>
    <DimensionLayout dim="0">
      <Group type="103" groupAlignment="0" attributes="0">
          <Group type="102" attributes="0">
              <Component id="executeButton" min="-2" pref="121" max="-2" attributes="0"/>
              <EmptySpace max="-2" attributes="0"/>
              <Component id="interruptButton" min="-2" max="-2" attributes="0"/>
              <EmptySpace type="separate" max="-2" attributes="0"/>
              <Component id="saveAsButton" min="-2" max="-2" attributes="0"/>
              <EmptySpace max="-2" attributes="0"/>
              <Component id="openButton" min="-2" max="-2" attributes="0"/>
              <EmptySpace max="-2" attributes="0"/>
              <Component id="newScriptButton" min="-2" max="-2" attributes="0"/>
              <EmptySpace max="32767" attributes="0"/>
              <Component id="contextSelector" min="-2" max="-2" attributes="0"/>
          </Group>
          <Group type="102" alignment="1" attributes="0">
              <Component id="fileNameTextField" max="32767" attributes="0"/>
              <EmptySpace min="-2" max="-2" attributes="0"/>
              <Component id="caretPositionLabel" min="-2" pref="99" max="-2" attributes="0"/>
          </Group>
          <Component id="jScrollPane2" alignment="0" pref="0" max="32767" attributes="0"/>
      </Group>
    </DimensionLayout>
    <DimensionLayout dim="1">
      <Group type="103" groupAlignment="0" attributes="0">
          <Group type="102" alignment="0" attributes="0">
              <Group type="103" groupAlignment="3" attributes="0">
                  <Component id="executeButton" linkSize="1" alignment="3" min="-2" max="-2" attributes="0"/>
                  <Component id="contextSelector" alignment="3" min="-2" max="-2" attributes="0"/>
                  <Component id="saveAsButton" linkSize="1" alignment="3" min="-2" max="-2" attributes="0"/>
                  <Component id="openButton" linkSize="1" alignment="3" min="-2" max="-2" attributes="0"/>
                  <Component id="newScriptButton" linkSize="1" alignment="3" min="-2" max="-2" attributes="0"/>
                  <Component id="interruptButton" linkSize="1" alignment="3" min="-2" max="-2" attributes="0"/>
              </Group>
              <EmptySpace min="-2" max="-2" attributes="0"/>
              <Component id="jScrollPane2" pref="279" max="32767" attributes="0"/>
              <EmptySpace min="-2" max="-2" attributes="0"/>
              <Group type="103" groupAlignment="3" attributes="0">
                  <Component id="caretPositionLabel" alignment="3" min="-2" max="-2" attributes="0"/>
                  <Component id="fileNameTextField" alignment="3" min="-2" max="-2" attributes="0"/>
              </Group>
          </Group>
      </Group>
    </DimensionLayout>
  </Layout>
  <SubComponents>
    <Component class="javax.swing.JButton" name="executeButton">
      <Properties>
        <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
          <Image iconType="3" name="/org/autoplot/go.png"/>
        </Property>
        <Property name="text" type="java.lang.String" value="Run"/>
        <Property name="toolTipText" type="java.lang.String" value="&lt;html&gt;Run the script.  &lt;br&gt;Alt enters editor GUI.  &lt;br&gt;Ctrl attempts to trace program location.  &lt;br&gt;Shift enters editor GUI."/>
      </Properties>
      <Events>
        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="executeButtonActionPerformed"/>
      </Events>
    </Component>
    <Component class="javax.swing.JButton" name="saveAsButton">
      <Properties>
        <Property name="font" type="java.awt.Font" editor="org.netbeans.modules.form.editors2.FontEditor">
          <FontInfo relative="true">
            <Font component="saveAsButton" property="font" relativeSize="true" size="0"/>
          </FontInfo>
        </Property>
        <Property name="text" type="java.lang.String" value="Save As..."/>
        <Property name="toolTipText" type="java.lang.String" value="Save the buffer to a local file."/>
      </Properties>
      <Events>
        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="saveAsButtonActionPerformed"/>
      </Events>
    </Component>
    <Component class="javax.swing.JButton" name="openButton">
      <Properties>
        <Property name="text" type="java.lang.String" value="Open..."/>
        <Property name="toolTipText" type="java.lang.String" value="Open the local file to the buffer."/>
      </Properties>
      <Events>
        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="openButtonActionPerformed"/>
      </Events>
    </Component>
    <Component class="javax.swing.JComboBox" name="contextSelector">
      <Properties>
        <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
          <StringArray count="2">
            <StringItem index="0" value="Application Context"/>
            <StringItem index="1" value="Data Source Context"/>
          </StringArray>
        </Property>
        <Property name="toolTipText" type="java.lang.String" value="&lt;html&gt;select the context for the script: to create new datasets (data source context), or to control an application (application context)&lt;/html&gt;&#xa;"/>
      </Properties>
      <Events>
        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="contextSelectorActionPerformed"/>
      </Events>
    </Component>
    <Component class="javax.swing.JLabel" name="caretPositionLabel">
      <Properties>
        <Property name="text" type="java.lang.String" value="1,1"/>
        <Property name="toolTipText" type="java.lang.String" value="row,column; or the number of characters and lines selected."/>
      </Properties>
    </Component>
    <Container class="javax.swing.JScrollPane" name="jScrollPane2">

      <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
      <SubComponents>
        <Component class="org.autoplot.jythonsupport.ui.EditorTextPane" name="textArea">
          <Events>
            <EventHandler event="focusGained" listener="java.awt.event.FocusListener" parameters="java.awt.event.FocusEvent" handler="textAreaFocusGained"/>
          </Events>
        </Component>
      </SubComponents>
    </Container>
    <Component class="javax.swing.JButton" name="newScriptButton">
      <Properties>
        <Property name="text" type="java.lang.String" value="New"/>
        <Property name="toolTipText" type="java.lang.String" value="Reset the buffer to a new file."/>
      </Properties>
      <Events>
        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="newScriptButtonActionPerformed"/>
      </Events>
    </Component>
    <Component class="javax.swing.JButton" name="interruptButton">
      <Properties>
        <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
          <Image iconType="3" name="/resources/stop.png"/>
        </Property>
        <Property name="text" type="java.lang.String" value="Stop"/>
        <Property name="toolTipText" type="java.lang.String" value="Interrupt running script"/>
        <Property name="enabled" type="boolean" value="false"/>
      </Properties>
      <Events>
        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="interruptButtonActionPerformed"/>
      </Events>
    </Component>
    <Component class="javax.swing.JTextField" name="fileNameTextField">
      <Properties>
        <Property name="editable" type="boolean" value="false"/>
        <Property name="font" type="java.awt.Font" editor="org.netbeans.modules.form.editors2.FontEditor">
          <FontInfo relative="true">
            <Font component="fileNameTextField" property="font" relativeSize="true" size="-2"/>
          </FontInfo>
        </Property>
        <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
          <Border info="org.netbeans.modules.form.compat2.border.EmptyBorderInfo">
            <EmptyBorder/>
          </Border>
        </Property>
      </Properties>
    </Component>
  </SubComponents>
</Form>
