Changeset 184 in tmcsimulator-scriptbuilder for trunk/src/scriptbuilder/gui/IncidentEditorFrame.form


Ignore:
Timestamp:
01/12/2020 04:01:21 PM (6 years ago)
Author:
jdalbey
Message:

Incident Editor Frame: Rearrange event buttons and panels into more meaningful groupings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/scriptbuilder/gui/IncidentEditorFrame.form

    r160 r184  
    448448              <Group type="103" groupAlignment="0" attributes="0"> 
    449449                  <Group type="102" alignment="0" attributes="0"> 
    450                       <EmptySpace min="-2" pref="46" max="-2" attributes="0"/> 
    451450                      <Component id="incidentEventsPanel" min="-2" max="-2" attributes="0"/> 
    452451                      <EmptySpace max="-2" attributes="0"/> 
     452                      <Component id="jPanel1" min="-2" max="-2" attributes="0"/> 
     453                      <EmptySpace max="-2" attributes="0"/> 
    453454                      <Component id="evaluationEventsPanel" min="-2" max="-2" attributes="0"/> 
    454                       <EmptySpace min="-2" max="-2" attributes="0"/> 
     455                      <EmptySpace type="separate" max="-2" attributes="0"/> 
    455456                      <Group type="103" groupAlignment="0" attributes="0"> 
    456457                          <Component id="zoomInIcon" alignment="0" min="-2" max="-2" attributes="0"/> 
     
    462463                  </Group> 
    463464                  <Component id="timelinesScrollPane" alignment="0" min="0" pref="0" max="32767" attributes="1"/> 
    464                   <Component id="timeStampScrollPane" alignment="0" pref="0" max="32767" attributes="0"/> 
     465                  <Component id="timeStampScrollPane" alignment="0" max="32767" attributes="0"/> 
    465466                  <Group type="102" alignment="1" attributes="0"> 
    466467                      <Component id="incidentInformationPanel" max="32767" attributes="0"/> 
     
    468469                      <Component id="scriptEventsPanel" max="32767" attributes="0"/> 
    469470                  </Group> 
    470                   <Component id="timeStampScrollPane1" alignment="0" pref="0" max="32767" attributes="0"/> 
     471                  <Component id="timeStampScrollPane1" alignment="0" max="32767" attributes="0"/> 
    471472              </Group> 
    472473              <EmptySpace max="-2" attributes="0"/> 
     
    477478      <Group type="103" groupAlignment="0" attributes="0"> 
    478479          <Group type="102" alignment="1" attributes="0"> 
    479               <Group type="103" groupAlignment="0" max="-2" attributes="0"> 
     480              <Group type="103" groupAlignment="0" attributes="0"> 
    480481                  <Group type="102" attributes="0"> 
    481482                      <EmptySpace max="-2" attributes="0"/> 
     
    483484                          <Component id="evaluationEventsPanel" alignment="0" min="-2" max="-2" attributes="1"/> 
    484485                          <Component id="incidentEventsPanel" alignment="0" min="-2" max="-2" attributes="1"/> 
     486                          <Component id="jPanel1" alignment="0" min="-2" max="-2" attributes="0"/> 
    485487                      </Group> 
    486488                  </Group> 
     
    499501                  </Group> 
    500502              </Group> 
    501               <EmptySpace min="-2" max="-2" attributes="0"/> 
     503              <EmptySpace min="-2" pref="11" max="-2" attributes="0"/> 
    502504              <Component id="timeStampScrollPane" min="-2" pref="20" max="-2" attributes="0"/> 
    503505              <EmptySpace min="-2" max="-2" attributes="0"/> 
     
    807809        <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> 
    808810          <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo"> 
    809             <TitledBorder title="Incident Events"/> 
     811            <TitledBorder title="Automated Events"/> 
    810812          </Border> 
    811813        </Property> 
     
    816818          <Group type="103" groupAlignment="0" attributes="0"> 
    817819              <Group type="102" alignment="0" attributes="0"> 
    818                   <EmptySpace max="-2" attributes="0"/> 
     820                  <EmptySpace max="32767" attributes="0"/> 
    819821                  <Group type="103" groupAlignment="0" attributes="0"> 
    820                       <Group type="103" alignment="0" groupAlignment="0" attributes="0"> 
    821                           <Group type="102" alignment="1" attributes="0"> 
    822                               <Component id="maintenanceRadioButton" min="-2" pref="120" max="-2" attributes="0"/> 
    823                               <EmptySpace max="-2" attributes="0"/> 
    824                               <Component id="tmtRadioButton" min="-2" pref="120" max="-2" attributes="0"/> 
    825                               <EmptySpace max="-2" attributes="0"/> 
    826                               <Component id="telephoneButton" min="-2" pref="120" max="-2" attributes="0"/> 
    827                               <EmptySpace max="-2" attributes="0"/> 
    828                               <Component id="paramicsButton" min="-2" pref="120" max="-2" attributes="0"/> 
    829                           </Group> 
    830                           <Group type="102" alignment="0" attributes="0"> 
    831                               <Component id="towButton" min="-2" pref="120" max="-2" attributes="0"/> 
    832                               <EmptySpace max="-2" attributes="0"/> 
    833                               <Component id="unitButton" min="-2" pref="120" max="-2" attributes="0"/> 
    834                               <EmptySpace max="-2" attributes="0"/> 
    835                               <Component id="witnessButton" min="-2" pref="120" max="-2" attributes="0"/> 
    836                           </Group> 
    837                       </Group> 
    838822                      <Group type="102" alignment="0" attributes="0"> 
    839823                          <Component id="cadButton" min="-2" pref="120" max="-2" attributes="0"/> 
     
    843827                          <Component id="chpRadioButton" min="-2" pref="120" max="-2" attributes="0"/> 
    844828                      </Group> 
    845                   </Group> 
    846                   <EmptySpace max="32767" attributes="0"/> 
     829                      <Group type="102" alignment="0" attributes="0"> 
     830                          <Component id="towButton" min="-2" pref="120" max="-2" attributes="0"/> 
     831                          <EmptySpace max="-2" attributes="0"/> 
     832                          <Component id="unitButton" min="-2" pref="120" max="-2" attributes="0"/> 
     833                          <EmptySpace max="-2" attributes="0"/> 
     834                          <Component id="witnessButton" min="-2" pref="120" max="-2" attributes="0"/> 
     835                      </Group> 
     836                      <Group type="102" alignment="0" attributes="0"> 
     837                          <EmptySpace min="-2" pref="126" max="-2" attributes="0"/> 
     838                          <Component id="paramicsButton" min="-2" pref="120" max="-2" attributes="0"/> 
     839                      </Group> 
     840                  </Group> 
     841                  <EmptySpace min="-2" pref="6" max="-2" attributes="0"/> 
    847842              </Group> 
    848843          </Group> 
     
    851846          <Group type="103" groupAlignment="0" attributes="0"> 
    852847              <Group type="102" alignment="0" attributes="0"> 
    853                   <Group type="103" groupAlignment="0" attributes="0"> 
    854                       <Group type="102" attributes="0"> 
    855                           <Group type="103" groupAlignment="3" attributes="0"> 
    856                               <Component id="maintenanceRadioButton" alignment="3" min="-2" pref="30" max="-2" attributes="0"/> 
    857                               <Component id="tmtRadioButton" alignment="3" min="-2" pref="30" max="-2" attributes="0"/> 
    858                               <Component id="telephoneButton" alignment="3" min="-2" pref="30" max="-2" attributes="0"/> 
    859                           </Group> 
    860                           <EmptySpace max="-2" attributes="0"/> 
    861                           <Group type="103" groupAlignment="3" attributes="0"> 
    862                               <Component id="towButton" alignment="3" min="-2" pref="30" max="-2" attributes="0"/> 
    863                               <Component id="unitButton" alignment="3" min="-2" pref="30" max="-2" attributes="0"/> 
    864                               <Component id="witnessButton" alignment="3" min="-2" pref="30" max="-2" attributes="0"/> 
    865                           </Group> 
    866                       </Group> 
    867                       <Component id="paramicsButton" min="-2" pref="30" max="-2" attributes="0"/> 
    868                   </Group> 
    869                   <EmptySpace max="-2" attributes="0"/> 
    870                   <Group type="103" groupAlignment="1" attributes="0"> 
    871                       <Group type="103" alignment="1" groupAlignment="3" attributes="0"> 
    872                           <Component id="cctvButton" alignment="3" min="-2" pref="30" max="-2" attributes="0"/> 
    873                           <Component id="chpRadioButton" alignment="3" min="-2" pref="30" max="-2" attributes="0"/> 
    874                       </Group> 
    875                       <Component id="cadButton" min="-2" pref="30" max="-2" attributes="0"/> 
    876                   </Group> 
     848                  <Group type="103" groupAlignment="3" attributes="0"> 
     849                      <Component id="cadButton" alignment="3" min="-2" pref="30" max="-2" attributes="0"/> 
     850                      <Component id="cctvButton" alignment="3" min="-2" pref="30" max="-2" attributes="0"/> 
     851                      <Component id="chpRadioButton" alignment="3" min="-2" pref="30" max="-2" attributes="0"/> 
     852                  </Group> 
     853                  <EmptySpace max="-2" attributes="0"/> 
     854                  <Group type="103" groupAlignment="3" attributes="0"> 
     855                      <Component id="towButton" alignment="3" min="-2" pref="30" max="-2" attributes="0"/> 
     856                      <Component id="unitButton" alignment="3" min="-2" pref="30" max="-2" attributes="0"/> 
     857                      <Component id="witnessButton" alignment="3" min="-2" pref="30" max="-2" attributes="0"/> 
     858                  </Group> 
     859                  <EmptySpace max="-2" attributes="0"/> 
     860                  <Component id="paramicsButton" min="-2" pref="30" max="-2" attributes="0"/> 
    877861              </Group> 
    878862          </Group> 
     
    880864      </Layout> 
    881865      <SubComponents> 
    882         <Component class="javax.swing.JButton" name="maintenanceRadioButton"> 
    883           <Properties> 
    884             <Property name="text" type="java.lang.String" value="Maintenance Radio"/> 
    885             <Property name="toolTipText" type="java.lang.String" value=""/> 
    886             <Property name="focusPainted" type="boolean" value="false"/> 
    887             <Property name="iconTextGap" type="int" value="0"/> 
    888             <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> 
    889               <Insets value="[2, 10, 2, 10]"/> 
    890             </Property> 
    891             <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> 
    892               <Dimension value="[30, 25]"/> 
    893             </Property> 
    894           </Properties> 
    895           <Events> 
    896             <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="maintenanceRadioButtonActionPerformed"/> 
    897           </Events> 
    898         </Component> 
    899         <Component class="javax.swing.JButton" name="tmtRadioButton"> 
    900           <Properties> 
    901             <Property name="text" type="java.lang.String" value="TMT Radio"/> 
    902             <Property name="toolTipText" type="java.lang.String" value=""/> 
    903             <Property name="focusPainted" type="boolean" value="false"/> 
    904             <Property name="iconTextGap" type="int" value="0"/> 
    905             <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> 
    906               <Insets value="[2, 10, 2, 10]"/> 
    907             </Property> 
    908             <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> 
    909               <Dimension value="[30, 25]"/> 
    910             </Property> 
    911           </Properties> 
    912           <Events> 
    913             <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="tmtRadioButtonActionPerformed"/> 
    914           </Events> 
    915         </Component> 
    916         <Component class="javax.swing.JButton" name="telephoneButton"> 
    917           <Properties> 
    918             <Property name="text" type="java.lang.String" value="Telephone"/> 
    919             <Property name="toolTipText" type="java.lang.String" value=""/> 
    920             <Property name="focusPainted" type="boolean" value="false"/> 
    921             <Property name="iconTextGap" type="int" value="0"/> 
    922             <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> 
    923               <Insets value="[2, 10, 2, 10]"/> 
    924             </Property> 
    925             <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> 
    926               <Dimension value="[30, 25]"/> 
    927             </Property> 
    928           </Properties> 
    929           <Events> 
    930             <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="telephoneButtonActionPerformed"/> 
    931           </Events> 
    932         </Component> 
    933866        <Component class="javax.swing.JButton" name="unitButton"> 
    934867          <Properties> 
     
    1066999              <Group type="102" attributes="0"> 
    10671000                  <EmptySpace max="-2" attributes="0"/> 
    1068                   <Group type="103" groupAlignment="0" attributes="0"> 
     1001                  <Group type="103" groupAlignment="0" max="-2" attributes="0"> 
    10691002                      <Group type="102" alignment="0" attributes="0"> 
    10701003                          <Component id="atmsEvalButton" min="-2" pref="140" max="-2" attributes="0"/> 
    10711004                          <EmptySpace max="-2" attributes="0"/> 
    1072                           <Component id="activityLogEvalButton" min="-2" pref="140" max="-2" attributes="0"/> 
     1005                          <Component id="activityLogEvalButton" max="32767" attributes="0"/> 
    10731006                      </Group> 
    10741007                      <Group type="102" alignment="0" attributes="0"> 
    10751008                          <Component id="cmsEvalButton" min="-2" pref="140" max="-2" attributes="0"/> 
    10761009                          <EmptySpace max="-2" attributes="0"/> 
    1077                           <Component id="facilitatorEvalButton" min="-2" pref="140" max="-2" attributes="0"/> 
     1010                          <Component id="facilitatorEvalButton" min="-2" pref="159" max="-2" attributes="0"/> 
    10781011                      </Group> 
    10791012                      <Group type="102" alignment="0" attributes="0"> 
    10801013                          <Component id="cadEvalButton" min="-2" pref="140" max="-2" attributes="0"/> 
    10811014                          <EmptySpace max="-2" attributes="0"/> 
    1082                           <Component id="radioEvalButton" min="-2" pref="140" max="-2" attributes="0"/> 
     1015                          <Component id="radioEvalButton" max="32767" attributes="0"/> 
    10831016                      </Group> 
    10841017                  </Group> 
     
    13511284      </SubComponents> 
    13521285    </Container> 
     1286    <Container class="javax.swing.JPanel" name="jPanel1"> 
     1287      <Properties> 
     1288        <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> 
     1289          <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo"> 
     1290            <TitledBorder title="Instructor Actions"/> 
     1291          </Border> 
     1292        </Property> 
     1293      </Properties> 
     1294 
     1295      <Layout> 
     1296        <DimensionLayout dim="0"> 
     1297          <Group type="103" groupAlignment="0" attributes="0"> 
     1298              <Group type="102" alignment="1" attributes="0"> 
     1299                  <EmptySpace max="-2" attributes="0"/> 
     1300                  <Group type="103" groupAlignment="1" attributes="0"> 
     1301                      <Component id="maintenanceRadioButton" pref="146" max="32767" attributes="0"/> 
     1302                      <Component id="tmtRadioButton" max="32767" attributes="0"/> 
     1303                      <Component id="telephoneButton" alignment="1" max="32767" attributes="0"/> 
     1304                  </Group> 
     1305                  <EmptySpace max="-2" attributes="0"/> 
     1306              </Group> 
     1307          </Group> 
     1308        </DimensionLayout> 
     1309        <DimensionLayout dim="1"> 
     1310          <Group type="103" groupAlignment="0" attributes="0"> 
     1311              <Group type="102" alignment="0" attributes="0"> 
     1312                  <Component id="telephoneButton" min="-2" pref="30" max="-2" attributes="0"/> 
     1313                  <EmptySpace max="-2" attributes="0"/> 
     1314                  <Component id="tmtRadioButton" min="-2" pref="30" max="-2" attributes="0"/> 
     1315                  <EmptySpace max="32767" attributes="0"/> 
     1316                  <Component id="maintenanceRadioButton" min="-2" pref="30" max="-2" attributes="0"/> 
     1317              </Group> 
     1318          </Group> 
     1319        </DimensionLayout> 
     1320      </Layout> 
     1321      <SubComponents> 
     1322        <Component class="javax.swing.JButton" name="telephoneButton"> 
     1323          <Properties> 
     1324            <Property name="text" type="java.lang.String" value="Telephone"/> 
     1325            <Property name="toolTipText" type="java.lang.String" value=""/> 
     1326            <Property name="focusPainted" type="boolean" value="false"/> 
     1327            <Property name="iconTextGap" type="int" value="0"/> 
     1328            <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> 
     1329              <Insets value="[2, 10, 2, 10]"/> 
     1330            </Property> 
     1331            <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> 
     1332              <Dimension value="[30, 25]"/> 
     1333            </Property> 
     1334          </Properties> 
     1335          <Events> 
     1336            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="telephoneButtonActionPerformed"/> 
     1337          </Events> 
     1338        </Component> 
     1339        <Component class="javax.swing.JButton" name="tmtRadioButton"> 
     1340          <Properties> 
     1341            <Property name="text" type="java.lang.String" value="TMT Radio"/> 
     1342            <Property name="toolTipText" type="java.lang.String" value=""/> 
     1343            <Property name="focusPainted" type="boolean" value="false"/> 
     1344            <Property name="iconTextGap" type="int" value="0"/> 
     1345            <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> 
     1346              <Insets value="[2, 10, 2, 10]"/> 
     1347            </Property> 
     1348            <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> 
     1349              <Dimension value="[30, 25]"/> 
     1350            </Property> 
     1351          </Properties> 
     1352          <Events> 
     1353            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="tmtRadioButtonActionPerformed"/> 
     1354          </Events> 
     1355        </Component> 
     1356        <Component class="javax.swing.JButton" name="maintenanceRadioButton"> 
     1357          <Properties> 
     1358            <Property name="text" type="java.lang.String" value="Maintenance Radio"/> 
     1359            <Property name="toolTipText" type="java.lang.String" value=""/> 
     1360            <Property name="focusPainted" type="boolean" value="false"/> 
     1361            <Property name="iconTextGap" type="int" value="0"/> 
     1362            <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> 
     1363              <Insets value="[2, 10, 2, 10]"/> 
     1364            </Property> 
     1365            <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> 
     1366              <Dimension value="[30, 25]"/> 
     1367            </Property> 
     1368          </Properties> 
     1369          <Events> 
     1370            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="maintenanceRadioButtonActionPerformed"/> 
     1371          </Events> 
     1372        </Component> 
     1373      </SubComponents> 
     1374    </Container> 
    13531375  </SubComponents> 
    13541376</Form> 
Note: See TracChangeset for help on using the changeset viewer.