Changeset 55 in tmcsimulator-scriptbuilder for trunk/src/scriptbuilder/gui/ScriptBuilderFrame.java


Ignore:
Timestamp:
08/14/2017 12:33:56 PM (9 years ago)
Author:
bmcguffin
Message:

Removed most of the panels and buttons from the Script Builder frame. Left those same components in Incident Editor Frame, from which the dropdown menu at the top was removed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/scriptbuilder/gui/ScriptBuilderFrame.java

    r54 r55  
    5656    public ScriptEventType currentEventType; 
    5757    /** 
    58      * A list of all the event type buttons. 
    59      */ 
    60     private ArrayList<JButton> eventButtons = null; 
    61     /** 
    6258     * True if we are currently editing an incident. 
    6359     */ 
     
    6662     * Index of the previous incident. 
    6763     */ 
    68     int oldIncidentIndex; 
     64    private int oldIncidentIndex; 
    6965 
    7066    /** 
     
    121117        public void keyPressed(KeyEvent e) 
    122118        { 
    123             JButton lastButton = null; 
    124             for (JButton eb : eventButtons) 
    125             { 
    126                 eb.setFocusPainted(false); 
    127                 if (eb.isSelected()) 
    128                 { 
    129                     lastButton = eb; 
    130                 } 
    131                 eb.setSelected(false); 
    132             } 
    133  
    134             JButton newButton = null; 
    135             switch (e.getKeyChar()) 
    136             { 
    137                 case 'u': 
    138                     currentEventType = ScriptEventType.AUDIO_EVENT; 
    139                     newButton = audioButton; 
    140                     break; 
    141                 case 'c': 
    142                     currentEventType = ScriptEventType.CAD_EVENT; 
    143                     newButton = cadButton; 
    144                     break; 
    145                 case 'v': 
    146                     currentEventType = ScriptEventType.CCTV_EVENT; 
    147                     newButton = cctvButton; 
    148                     break; 
    149                 case 'h': 
    150                     currentEventType = ScriptEventType.CHP_RADIO_EVENT; 
    151                     newButton = chpRadioButton; 
    152                     break; 
    153                 case 'p': 
    154                     currentEventType = ScriptEventType.PARAMICS_EVENT; 
    155                     newButton = paramicsButton; 
    156                     break; 
    157                 case 'o': 
    158                     currentEventType = ScriptEventType.TOW_EVENT; 
    159                     newButton = towButton; 
    160                     break; 
    161                 case 'n': 
    162                     currentEventType = ScriptEventType.UNIT_EVENT; 
    163                     newButton = unitButton; 
    164                     break; 
    165                 case 'w': 
    166                     currentEventType = ScriptEventType.WITNESS_EVENT; 
    167                     newButton = witnessButton; 
    168                     break; 
    169                 case 'm': 
    170                     currentEventType = ScriptEventType.MAINTENANCE_RADIO_EVENT; 
    171                     newButton = maintenanceRadioButton; 
    172                     break; 
    173                 case 't': 
    174                     currentEventType = ScriptEventType.TMT_RADIO_EVENT; 
    175                     newButton = tmtRadioButton; 
    176                     break; 
    177                 case 'e': 
    178                     currentEventType = ScriptEventType.TELEPHONE_EVENT; 
    179                     newButton = telephoneButton; 
    180                     break; 
    181                 case 'a': 
    182                     currentEventType = ScriptEventType.ATMS_EVAL_EVENT; 
    183                     newButton = atmsEvalButton; 
    184                     break; 
    185                 case 'l': 
    186                     currentEventType = ScriptEventType.ACTIVITY_LOG_EVAL_EVENT; 
    187                     newButton = activityLogEvalButton; 
    188                     break; 
    189                 case 'd': 
    190                     currentEventType = ScriptEventType.CAD_EVAL_EVENT; 
    191                     newButton = cadEvalButton; 
    192                     break; 
    193                 case 's': 
    194                     currentEventType = ScriptEventType.CMS_EVAL_EVENT; 
    195                     newButton = cmsEvalButton; 
    196                     break; 
    197                 case 'f': 
    198                     currentEventType = ScriptEventType.FACILITATOR_EVAL_EVENT; 
    199                     newButton = facilitatorEvalButton; 
    200                     break; 
    201                 case 'r': 
    202                     currentEventType = ScriptEventType.RADIO_EVAL_EVENT; 
    203                     newButton = radioEvalButton; 
    204                     break; 
    205                 default: 
    206                     newButton = lastButton; 
    207             } 
    208  
    209             if (e.getKeyCode() == KeyEvent.VK_ESCAPE) 
    210             { 
    211                 currentEventType = null; 
    212                 newButton = selectButton; 
    213             } 
    214  
    215             if (newButton != null) 
    216             { 
    217                 newButton.setSelected(true); 
    218             } 
    219  
    220119            repaint(); 
    221120        } 
     
    252151        initComponents(); 
    253152        this.update(null, script); 
    254         selectButton.addKeyListener(new TimelineKeyListener()); 
    255         cadButton.addKeyListener(new TimelineKeyListener()); 
    256         cctvButton.addKeyListener(new TimelineKeyListener()); 
    257         chpRadioButton.addKeyListener(new TimelineKeyListener()); 
    258         paramicsButton.addKeyListener(new TimelineKeyListener()); 
    259         towButton.addKeyListener(new TimelineKeyListener()); 
    260         unitButton.addKeyListener(new TimelineKeyListener()); 
    261         witnessButton.addKeyListener(new TimelineKeyListener()); 
    262         maintenanceRadioButton.addKeyListener(new TimelineKeyListener()); 
    263         tmtRadioButton.addKeyListener(new TimelineKeyListener()); 
    264         telephoneButton.addKeyListener(new TimelineKeyListener()); 
    265         atmsEvalButton.addKeyListener(new TimelineKeyListener()); 
    266         activityLogEvalButton.addKeyListener(new TimelineKeyListener()); 
    267         cadEvalButton.addKeyListener(new TimelineKeyListener()); 
    268         cmsEvalButton.addKeyListener(new TimelineKeyListener()); 
    269         facilitatorEvalButton.addKeyListener(new TimelineKeyListener()); 
    270         radioEvalButton.addKeyListener(new TimelineKeyListener()); 
    271153 
    272154        // Hack to refresh the zoom 
    273         //This is stupid tbh 
    274155        /* 
    275156         zoomSlider.setValue(zoomSlider.getValue() - 1); 
     
    280161        timelinesScrollPane.getHorizontalScrollBar().addAdjustmentListener(listener); 
    281162        timelinesScrollPane.getVerticalScrollBar().addAdjustmentListener(listener); 
    282  
    283         // Button list 
    284         eventButtons = new ArrayList<JButton>(); 
    285         eventButtons.add(maintenanceRadioButton); 
    286         eventButtons.add(tmtRadioButton); 
    287         eventButtons.add(telephoneButton); 
    288         eventButtons.add(paramicsButton); 
    289         eventButtons.add(towButton); 
    290         eventButtons.add(witnessButton); 
    291         eventButtons.add(unitButton); 
    292         eventButtons.add(audioButton); 
    293         eventButtons.add(cadButton); 
    294         eventButtons.add(cctvButton); 
    295         eventButtons.add(chpRadioButton); 
    296         eventButtons.add(selectButton); 
    297         eventButtons.add(cmsEvalButton); 
    298         eventButtons.add(atmsEvalButton); 
    299         eventButtons.add(cadEvalButton); 
    300         eventButtons.add(activityLogEvalButton); 
    301         eventButtons.add(facilitatorEvalButton); 
    302         eventButtons.add(radioEvalButton); 
    303163    } 
    304164 
     
    470330        incidentNumberPanel10 = new scriptbuilder.gui.panels.ScriptBuilderNumberPanel(); 
    471331        zoomSlider = new javax.swing.JSlider(); 
    472         selectButton = new javax.swing.JButton(); 
    473         incidentEventsPanel = new javax.swing.JPanel(); 
    474         maintenanceRadioButton = new javax.swing.JButton(); 
    475         tmtRadioButton = new javax.swing.JButton(); 
    476         telephoneButton = new javax.swing.JButton(); 
    477         unitButton = new javax.swing.JButton(); 
    478         witnessButton = new javax.swing.JButton(); 
    479         paramicsButton = new javax.swing.JButton(); 
    480         towButton = new javax.swing.JButton(); 
    481         audioButton = new javax.swing.JButton(); 
    482         cctvButton = new javax.swing.JButton(); 
    483         cadButton = new javax.swing.JButton(); 
    484         chpRadioButton = new javax.swing.JButton(); 
    485         evaluationEventsPanel = new javax.swing.JPanel(); 
    486         atmsEvalButton = new javax.swing.JButton(); 
    487         cmsEvalButton = new javax.swing.JButton(); 
    488         cadEvalButton = new javax.swing.JButton(); 
    489         facilitatorEvalButton = new javax.swing.JButton(); 
    490         activityLogEvalButton = new javax.swing.JButton(); 
    491         radioEvalButton = new javax.swing.JButton(); 
    492332        zoomInIcon = new javax.swing.JLabel(); 
    493333        zoomOutIcon = new javax.swing.JLabel(); 
     
    12891129        zoomSlider.setMaximum(22); 
    12901130        zoomSlider.setMinimum(4); 
    1291         zoomSlider.setOrientation(javax.swing.JSlider.VERTICAL); 
    12921131        zoomSlider.setValue(4); 
    12931132        zoomSlider.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR)); 
     
    13001139            } 
    13011140        }); 
    1302  
    1303         selectButton.setToolTipText("Select"); 
    1304         selectButton.setFocusPainted(false); 
    1305         selectButton.setIconTextGap(0); 
    1306         selectButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    1307         selectButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    1308         selectButton.addActionListener(new java.awt.event.ActionListener() 
    1309         { 
    1310             public void actionPerformed(java.awt.event.ActionEvent evt) 
    1311             { 
    1312                 selectButtonActionPerformed(evt); 
    1313             } 
    1314         }); 
    1315  
    1316         incidentEventsPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("Incident Events")); 
    1317  
    1318         maintenanceRadioButton.setText("Maintenance Radio"); 
    1319         maintenanceRadioButton.setToolTipText(""); 
    1320         maintenanceRadioButton.setFocusPainted(false); 
    1321         maintenanceRadioButton.setIconTextGap(0); 
    1322         maintenanceRadioButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    1323         maintenanceRadioButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    1324         maintenanceRadioButton.addActionListener(new java.awt.event.ActionListener() 
    1325         { 
    1326             public void actionPerformed(java.awt.event.ActionEvent evt) 
    1327             { 
    1328                 maintenanceRadioButtonActionPerformed(evt); 
    1329             } 
    1330         }); 
    1331  
    1332         tmtRadioButton.setText("TMT Radio"); 
    1333         tmtRadioButton.setToolTipText(""); 
    1334         tmtRadioButton.setFocusPainted(false); 
    1335         tmtRadioButton.setIconTextGap(0); 
    1336         tmtRadioButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    1337         tmtRadioButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    1338         tmtRadioButton.addActionListener(new java.awt.event.ActionListener() 
    1339         { 
    1340             public void actionPerformed(java.awt.event.ActionEvent evt) 
    1341             { 
    1342                 tmtRadioButtonActionPerformed(evt); 
    1343             } 
    1344         }); 
    1345  
    1346         telephoneButton.setText("Telephone"); 
    1347         telephoneButton.setToolTipText(""); 
    1348         telephoneButton.setFocusPainted(false); 
    1349         telephoneButton.setIconTextGap(0); 
    1350         telephoneButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    1351         telephoneButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    1352         telephoneButton.addActionListener(new java.awt.event.ActionListener() 
    1353         { 
    1354             public void actionPerformed(java.awt.event.ActionEvent evt) 
    1355             { 
    1356                 telephoneButtonActionPerformed(evt); 
    1357             } 
    1358         }); 
    1359  
    1360         unitButton.setText("Unit"); 
    1361         unitButton.setToolTipText(""); 
    1362         unitButton.setFocusPainted(false); 
    1363         unitButton.setIconTextGap(0); 
    1364         unitButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    1365         unitButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    1366         unitButton.addActionListener(new java.awt.event.ActionListener() 
    1367         { 
    1368             public void actionPerformed(java.awt.event.ActionEvent evt) 
    1369             { 
    1370                 unitButtonActionPerformed(evt); 
    1371             } 
    1372         }); 
    1373  
    1374         witnessButton.setText("Witness"); 
    1375         witnessButton.setToolTipText(""); 
    1376         witnessButton.setFocusPainted(false); 
    1377         witnessButton.setIconTextGap(0); 
    1378         witnessButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    1379         witnessButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    1380         witnessButton.addActionListener(new java.awt.event.ActionListener() 
    1381         { 
    1382             public void actionPerformed(java.awt.event.ActionEvent evt) 
    1383             { 
    1384                 witnessButtonActionPerformed(evt); 
    1385             } 
    1386         }); 
    1387  
    1388         paramicsButton.setText("Paramics"); 
    1389         paramicsButton.setToolTipText(""); 
    1390         paramicsButton.setFocusPainted(false); 
    1391         paramicsButton.setIconTextGap(0); 
    1392         paramicsButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    1393         paramicsButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    1394         paramicsButton.addActionListener(new java.awt.event.ActionListener() 
    1395         { 
    1396             public void actionPerformed(java.awt.event.ActionEvent evt) 
    1397             { 
    1398                 paramicsButtonActionPerformed(evt); 
    1399             } 
    1400         }); 
    1401  
    1402         towButton.setText("Tow"); 
    1403         towButton.setToolTipText(""); 
    1404         towButton.setFocusPainted(false); 
    1405         towButton.setIconTextGap(0); 
    1406         towButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    1407         towButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    1408         towButton.addActionListener(new java.awt.event.ActionListener() 
    1409         { 
    1410             public void actionPerformed(java.awt.event.ActionEvent evt) 
    1411             { 
    1412                 towButtonActionPerformed(evt); 
    1413             } 
    1414         }); 
    1415  
    1416         audioButton.setText("Audio"); 
    1417         audioButton.setToolTipText(""); 
    1418         audioButton.setFocusPainted(false); 
    1419         audioButton.setIconTextGap(0); 
    1420         audioButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    1421         audioButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    1422         audioButton.addActionListener(new java.awt.event.ActionListener() 
    1423         { 
    1424             public void actionPerformed(java.awt.event.ActionEvent evt) 
    1425             { 
    1426                 audioButtonActionPerformed(evt); 
    1427             } 
    1428         }); 
    1429  
    1430         cctvButton.setText("CCTV"); 
    1431         cctvButton.setToolTipText(""); 
    1432         cctvButton.setFocusPainted(false); 
    1433         cctvButton.setIconTextGap(0); 
    1434         cctvButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    1435         cctvButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    1436         cctvButton.addActionListener(new java.awt.event.ActionListener() 
    1437         { 
    1438             public void actionPerformed(java.awt.event.ActionEvent evt) 
    1439             { 
    1440                 cctvButtonActionPerformed(evt); 
    1441             } 
    1442         }); 
    1443  
    1444         cadButton.setText("CAD"); 
    1445         cadButton.setToolTipText(""); 
    1446         cadButton.setFocusPainted(false); 
    1447         cadButton.setIconTextGap(0); 
    1448         cadButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    1449         cadButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    1450         cadButton.addActionListener(new java.awt.event.ActionListener() 
    1451         { 
    1452             public void actionPerformed(java.awt.event.ActionEvent evt) 
    1453             { 
    1454                 cadButtonActionPerformed(evt); 
    1455             } 
    1456         }); 
    1457  
    1458         chpRadioButton.setText("CHP Radio"); 
    1459         chpRadioButton.setToolTipText(""); 
    1460         chpRadioButton.setFocusPainted(false); 
    1461         chpRadioButton.setIconTextGap(0); 
    1462         chpRadioButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    1463         chpRadioButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    1464         chpRadioButton.addActionListener(new java.awt.event.ActionListener() 
    1465         { 
    1466             public void actionPerformed(java.awt.event.ActionEvent evt) 
    1467             { 
    1468                 chpRadioButtonActionPerformed(evt); 
    1469             } 
    1470         }); 
    1471  
    1472         javax.swing.GroupLayout incidentEventsPanelLayout = new javax.swing.GroupLayout(incidentEventsPanel); 
    1473         incidentEventsPanel.setLayout(incidentEventsPanelLayout); 
    1474         incidentEventsPanelLayout.setHorizontalGroup( 
    1475             incidentEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 
    1476             .addGroup(incidentEventsPanelLayout.createSequentialGroup() 
    1477                 .addContainerGap() 
    1478                 .addGroup(incidentEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 
    1479                     .addGroup(incidentEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 
    1480                         .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, incidentEventsPanelLayout.createSequentialGroup() 
    1481                             .addComponent(maintenanceRadioButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1482                             .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    1483                             .addComponent(tmtRadioButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1484                             .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    1485                             .addComponent(telephoneButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1486                             .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    1487                             .addComponent(paramicsButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)) 
    1488                         .addGroup(incidentEventsPanelLayout.createSequentialGroup() 
    1489                             .addComponent(towButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1490                             .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    1491                             .addComponent(unitButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1492                             .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    1493                             .addComponent(witnessButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1494                             .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    1495                             .addComponent(audioButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE))) 
    1496                     .addGroup(incidentEventsPanelLayout.createSequentialGroup() 
    1497                         .addComponent(cadButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1498                         .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    1499                         .addComponent(cctvButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1500                         .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    1501                         .addComponent(chpRadioButton, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE))) 
    1502                 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) 
    1503         ); 
    1504         incidentEventsPanelLayout.setVerticalGroup( 
    1505             incidentEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 
    1506             .addGroup(incidentEventsPanelLayout.createSequentialGroup() 
    1507                 .addGroup(incidentEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 
    1508                     .addGroup(incidentEventsPanelLayout.createSequentialGroup() 
    1509                         .addGroup(incidentEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) 
    1510                             .addComponent(maintenanceRadioButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1511                             .addComponent(tmtRadioButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1512                             .addComponent(telephoneButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)) 
    1513                         .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    1514                         .addGroup(incidentEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) 
    1515                             .addComponent(towButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1516                             .addComponent(unitButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1517                             .addComponent(witnessButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1518                             .addComponent(audioButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE))) 
    1519                     .addComponent(paramicsButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)) 
    1520                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    1521                 .addGroup(incidentEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) 
    1522                     .addGroup(incidentEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) 
    1523                         .addComponent(cctvButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1524                         .addComponent(chpRadioButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)) 
    1525                     .addComponent(cadButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE))) 
    1526         ); 
    1527  
    1528         evaluationEventsPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("Evaluation Events")); 
    1529  
    1530         atmsEvalButton.setText("ATMS Evaluation"); 
    1531         atmsEvalButton.setToolTipText(""); 
    1532         atmsEvalButton.setFocusPainted(false); 
    1533         atmsEvalButton.setIconTextGap(0); 
    1534         atmsEvalButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    1535         atmsEvalButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    1536         atmsEvalButton.addActionListener(new java.awt.event.ActionListener() 
    1537         { 
    1538             public void actionPerformed(java.awt.event.ActionEvent evt) 
    1539             { 
    1540                 atmsEvalButtonActionPerformed(evt); 
    1541             } 
    1542         }); 
    1543  
    1544         cmsEvalButton.setText("CMS Evaluation"); 
    1545         cmsEvalButton.setToolTipText(""); 
    1546         cmsEvalButton.setFocusPainted(false); 
    1547         cmsEvalButton.setIconTextGap(0); 
    1548         cmsEvalButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    1549         cmsEvalButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    1550         cmsEvalButton.addActionListener(new java.awt.event.ActionListener() 
    1551         { 
    1552             public void actionPerformed(java.awt.event.ActionEvent evt) 
    1553             { 
    1554                 cmsEvalButtonActionPerformed(evt); 
    1555             } 
    1556         }); 
    1557  
    1558         cadEvalButton.setText("CAD Evaluation"); 
    1559         cadEvalButton.setToolTipText(""); 
    1560         cadEvalButton.setFocusPainted(false); 
    1561         cadEvalButton.setIconTextGap(0); 
    1562         cadEvalButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    1563         cadEvalButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    1564         cadEvalButton.addActionListener(new java.awt.event.ActionListener() 
    1565         { 
    1566             public void actionPerformed(java.awt.event.ActionEvent evt) 
    1567             { 
    1568                 cadEvalButtonActionPerformed(evt); 
    1569             } 
    1570         }); 
    1571  
    1572         facilitatorEvalButton.setText("Facilitator Evaluation"); 
    1573         facilitatorEvalButton.setToolTipText(""); 
    1574         facilitatorEvalButton.setFocusPainted(false); 
    1575         facilitatorEvalButton.setIconTextGap(0); 
    1576         facilitatorEvalButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    1577         facilitatorEvalButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    1578         facilitatorEvalButton.addActionListener(new java.awt.event.ActionListener() 
    1579         { 
    1580             public void actionPerformed(java.awt.event.ActionEvent evt) 
    1581             { 
    1582                 facilitatorEvalButtonActionPerformed(evt); 
    1583             } 
    1584         }); 
    1585  
    1586         activityLogEvalButton.setText("Activity Log Evaluation"); 
    1587         activityLogEvalButton.setToolTipText(""); 
    1588         activityLogEvalButton.setFocusPainted(false); 
    1589         activityLogEvalButton.setIconTextGap(0); 
    1590         activityLogEvalButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    1591         activityLogEvalButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    1592         activityLogEvalButton.addActionListener(new java.awt.event.ActionListener() 
    1593         { 
    1594             public void actionPerformed(java.awt.event.ActionEvent evt) 
    1595             { 
    1596                 activityLogEvalButtonActionPerformed(evt); 
    1597             } 
    1598         }); 
    1599  
    1600         radioEvalButton.setText("Radio Evaluation"); 
    1601         radioEvalButton.setToolTipText(""); 
    1602         radioEvalButton.setFocusPainted(false); 
    1603         radioEvalButton.setIconTextGap(0); 
    1604         radioEvalButton.setMargin(new java.awt.Insets(2, 10, 2, 10)); 
    1605         radioEvalButton.setPreferredSize(new java.awt.Dimension(30, 25)); 
    1606         radioEvalButton.addActionListener(new java.awt.event.ActionListener() 
    1607         { 
    1608             public void actionPerformed(java.awt.event.ActionEvent evt) 
    1609             { 
    1610                 radioEvalButtonActionPerformed(evt); 
    1611             } 
    1612         }); 
    1613  
    1614         javax.swing.GroupLayout evaluationEventsPanelLayout = new javax.swing.GroupLayout(evaluationEventsPanel); 
    1615         evaluationEventsPanel.setLayout(evaluationEventsPanelLayout); 
    1616         evaluationEventsPanelLayout.setHorizontalGroup( 
    1617             evaluationEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 
    1618             .addGroup(evaluationEventsPanelLayout.createSequentialGroup() 
    1619                 .addContainerGap() 
    1620                 .addGroup(evaluationEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 
    1621                     .addGroup(evaluationEventsPanelLayout.createSequentialGroup() 
    1622                         .addComponent(atmsEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 140, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1623                         .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    1624                         .addComponent(activityLogEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 140, javax.swing.GroupLayout.PREFERRED_SIZE)) 
    1625                     .addGroup(evaluationEventsPanelLayout.createSequentialGroup() 
    1626                         .addComponent(cmsEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 140, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1627                         .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    1628                         .addComponent(facilitatorEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 140, javax.swing.GroupLayout.PREFERRED_SIZE)) 
    1629                     .addGroup(evaluationEventsPanelLayout.createSequentialGroup() 
    1630                         .addComponent(cadEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 140, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1631                         .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    1632                         .addComponent(radioEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 140, javax.swing.GroupLayout.PREFERRED_SIZE))) 
    1633                 .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) 
    1634         ); 
    1635         evaluationEventsPanelLayout.setVerticalGroup( 
    1636             evaluationEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 
    1637             .addGroup(evaluationEventsPanelLayout.createSequentialGroup() 
    1638                 .addGroup(evaluationEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 
    1639                     .addComponent(cmsEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1640                     .addComponent(facilitatorEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)) 
    1641                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    1642                 .addGroup(evaluationEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 
    1643                     .addComponent(atmsEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1644                     .addComponent(activityLogEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)) 
    1645                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    1646                 .addGroup(evaluationEventsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) 
    1647                     .addComponent(cadEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1648                     .addComponent(radioEvalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE))) 
    1649         ); 
    16501141 
    16511142        zoomInIcon.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/ZoomIn.png"))); // NOI18N 
     
    18981389                    .addComponent(timelinesScrollPane, 0, 0, Short.MAX_VALUE) 
    18991390                    .addComponent(timeStampScrollPane) 
    1900                     .addGroup(layout.createSequentialGroup() 
    1901                         .addComponent(selectButton, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE) 
     1391                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() 
     1392                        .addGap(0, 597, Short.MAX_VALUE) 
     1393                        .addComponent(zoomOutIcon) 
    19021394                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    1903                         .addComponent(incidentEventsPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 
     1395                        .addComponent(zoomSlider, javax.swing.GroupLayout.PREFERRED_SIZE, 140, javax.swing.GroupLayout.PREFERRED_SIZE) 
    19041396                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    1905                         .addComponent(evaluationEventsPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1906                         .addGap(18, 18, 18) 
    1907                         .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 
    1908                             .addComponent(zoomInIcon) 
    1909                             .addComponent(zoomSlider, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1910                             .addComponent(zoomOutIcon)))) 
     1397                        .addComponent(zoomInIcon) 
     1398                        .addGap(136, 136, 136))) 
    19111399                .addContainerGap()) 
    19121400        ); 
     
    19141402            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 
    19151403            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() 
    1916                 .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 
    1917                     .addGroup(layout.createSequentialGroup() 
    1918                         .addContainerGap() 
    1919                         .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 
    1920                             .addComponent(evaluationEventsPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1921                             .addComponent(incidentEventsPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1922                             .addGroup(layout.createSequentialGroup() 
    1923                                 .addGap(47, 47, 47) 
    1924                                 .addComponent(selectButton, javax.swing.GroupLayout.PREFERRED_SIZE, 55, javax.swing.GroupLayout.PREFERRED_SIZE)))) 
    1925                     .addGroup(layout.createSequentialGroup() 
    1926                         .addGap(20, 20, 20) 
    1927                         .addComponent(zoomInIcon) 
    1928                         .addGap(1, 1, 1) 
    1929                         .addComponent(zoomSlider, javax.swing.GroupLayout.PREFERRED_SIZE, 69, javax.swing.GroupLayout.PREFERRED_SIZE) 
    1930                         .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    1931                         .addComponent(zoomOutIcon))) 
     1404                .addContainerGap() 
     1405                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) 
     1406                    .addComponent(zoomOutIcon) 
     1407                    .addComponent(zoomSlider, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 
     1408                    .addComponent(zoomInIcon)) 
    19321409                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    19331410                .addComponent(timeStampScrollPane, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE) 
    19341411                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 
    1935                 .addComponent(timelinesScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 
     1412                .addComponent(timelinesScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 1289, Short.MAX_VALUE) 
    19361413                .addContainerGap()) 
    19371414        ); 
     
    20891566    }//GEN-LAST:event_newIncidentActionPerformed 
    20901567 
    2091     /** 
    2092      * Deselects new event type upon click of blank "select" button. 
    2093      * 
    2094      * @param evt the button press event 
    2095      */ 
    2096     private void selectButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_selectButtonActionPerformed 
    2097         currentEventType = null; 
    2098         for (JButton eb : eventButtons) 
    2099         { 
    2100             eb.setSelected(false); 
    2101         } 
    2102         selectButton.setSelected(true); 
    2103     }//GEN-LAST:event_selectButtonActionPerformed 
    2104  
    2105     /** 
    2106      * Selects CAD_EVENT as the current type of new event, upon click of "CAD 
    2107      * Event" button. 
    2108      * 
    2109      * @param evt the button press event 
    2110      */ 
    2111     private void cadButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cadButtonActionPerformed 
    2112         currentEventType = ScriptEventType.CAD_EVENT; 
    2113         for (JButton eb : eventButtons) 
    2114         { 
    2115             eb.setSelected(false); 
    2116         } 
    2117         cadButton.setSelected(true); 
    2118     }//GEN-LAST:event_cadButtonActionPerformed 
    2119  
    2120     /** 
    2121      * Selects CCTV_EVENT as the current type of new event, upon click of "CCTV 
    2122      * Event" button. 
    2123      * 
    2124      * @param evt the button press event 
    2125      */ 
    2126     private void cctvButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cctvButtonActionPerformed 
    2127         currentEventType = ScriptEventType.CCTV_EVENT; 
    2128         for (JButton eb : eventButtons) 
    2129         { 
    2130             eb.setSelected(false); 
    2131         } 
    2132         cctvButton.setSelected(true); 
    2133     }//GEN-LAST:event_cctvButtonActionPerformed 
    2134  
    2135     /** 
    2136      * Selects CHP_RADIO_EVENT as the current type of new event, upon click of 
    2137      * "CHP Radio Event" button. 
    2138      * 
    2139      * @param evt the button press event 
    2140      */ 
    2141     private void chpRadioButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_chpRadioButtonActionPerformed 
    2142         currentEventType = ScriptEventType.CHP_RADIO_EVENT; 
    2143         for (JButton eb : eventButtons) 
    2144         { 
    2145             eb.setSelected(false); 
    2146         } 
    2147         chpRadioButton.setSelected(true); 
    2148     }//GEN-LAST:event_chpRadioButtonActionPerformed 
    2149  
    21501568    private void fileMenuActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_fileMenuActionPerformed 
    21511569    }//GEN-LAST:event_fileMenuActionPerformed 
     
    24181836        fc.showSaveDialog(this); 
    24191837    }//GEN-LAST:event_generateOrganizationChartActionPerformed 
    2420  
    2421     /** 
    2422      * Selects WITNESS_EVENT as the current type of new event, upon click of 
    2423      * "Witness Event" button. 
    2424      * 
    2425      * @param evt the button press event 
    2426      */ 
    2427     private void witnessButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_witnessButtonActionPerformed 
    2428         currentEventType = ScriptEventType.WITNESS_EVENT; 
    2429         for (JButton eb : eventButtons) 
    2430         { 
    2431             eb.setSelected(false); 
    2432         } 
    2433         witnessButton.setSelected(true); 
    2434     }//GEN-LAST:event_witnessButtonActionPerformed 
    2435  
    2436     /** 
    2437      * Selects UNIT_EVENT as the current type of new event, upon click of "Unit 
    2438      * Event" button. 
    2439      * 
    2440      * @param evt the button press event 
    2441      */ 
    2442     private void unitButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_unitButtonActionPerformed 
    2443         currentEventType = ScriptEventType.UNIT_EVENT; 
    2444         for (JButton eb : eventButtons) 
    2445         { 
    2446             eb.setSelected(false); 
    2447         } 
    2448         unitButton.setSelected(true); 
    2449     }//GEN-LAST:event_unitButtonActionPerformed 
    2450  
    2451     /** 
    2452      * Selects TOW_EVENT as the current type of new event, upon click of "TOW 
    2453      * Event" button. 
    2454      * 
    2455      * @param evt the button press event 
    2456      */ 
    2457     private void towButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_towButtonActionPerformed 
    2458         currentEventType = ScriptEventType.TOW_EVENT; 
    2459         for (JButton eb : eventButtons) 
    2460         { 
    2461             eb.setSelected(false); 
    2462         } 
    2463         towButton.setSelected(true); 
    2464     }//GEN-LAST:event_towButtonActionPerformed 
    2465  
    2466     /** 
    2467      * Selects PARAMICS_EVENT as the current type of new event, upon click of 
    2468      * "Paramics Event" button. 
    2469      * 
    2470      * @param evt the button press event 
    2471      */ 
    2472     private void paramicsButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_paramicsButtonActionPerformed 
    2473         currentEventType = ScriptEventType.PARAMICS_EVENT; 
    2474         for (JButton eb : eventButtons) 
    2475         { 
    2476             eb.setSelected(false); 
    2477         } 
    2478         paramicsButton.setSelected(true); 
    2479     }//GEN-LAST:event_paramicsButtonActionPerformed 
    2480  
    2481     /** 
    2482      * Selects MAINTENANCE_RADIO_EVENT as the current type of new event, upon 
    2483      * click of "Maintenance Radio Event" button. 
    2484      * 
    2485      * @param evt the button press event 
    2486      */ 
    2487     private void maintenanceRadioButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_maintenanceRadioButtonActionPerformed 
    2488         currentEventType = ScriptEventType.MAINTENANCE_RADIO_EVENT; 
    2489         for (JButton eb : eventButtons) 
    2490         { 
    2491             eb.setSelected(false); 
    2492         } 
    2493         maintenanceRadioButton.setSelected(true); 
    2494     }//GEN-LAST:event_maintenanceRadioButtonActionPerformed 
    2495  
    2496     /** 
    2497      * Selects ATMS_EVAL_EVENT as the current type of new event, upon click of 
    2498      * "ATMS Evaluation Event" button. 
    2499      * 
    2500      * @param evt the button press event 
    2501      */ 
    2502     private void atmsEvalButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_atmsEvalButtonActionPerformed 
    2503         currentEventType = ScriptEventType.ATMS_EVAL_EVENT; 
    2504         for (JButton eb : eventButtons) 
    2505         { 
    2506             eb.setSelected(false); 
    2507         } 
    2508         atmsEvalButton.setSelected(true); 
    2509     }//GEN-LAST:event_atmsEvalButtonActionPerformed 
    2510  
    2511     /** 
    2512      * Selects TELEPHONE_EVENT as the current type of new event, upon click of 
    2513      * "Telephone Event" button. 
    2514      * 
    2515      * @param evt the button press event 
    2516      */ 
    2517     private void telephoneButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_telephoneButtonActionPerformed 
    2518         currentEventType = ScriptEventType.TELEPHONE_EVENT; 
    2519         for (JButton eb : eventButtons) 
    2520         { 
    2521             eb.setSelected(false); 
    2522         } 
    2523         telephoneButton.setSelected(true); 
    2524     }//GEN-LAST:event_telephoneButtonActionPerformed 
    2525  
    2526     /** 
    2527      * Selects TMT_RADIO_EVENT as the current type of new event, upon click of 
    2528      * "TMT Radio Event" button. 
    2529      * 
    2530      * @param evt the button press event 
    2531      */ 
    2532     private void tmtRadioButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_tmtRadioButtonActionPerformed 
    2533         currentEventType = ScriptEventType.TMT_RADIO_EVENT; 
    2534         for (JButton eb : eventButtons) 
    2535         { 
    2536             eb.setSelected(false); 
    2537         } 
    2538         tmtRadioButton.setSelected(true); 
    2539     }//GEN-LAST:event_tmtRadioButtonActionPerformed 
    2540  
    2541     /** 
    2542      * Selects CMS_EVAL_EVENT as the current type of new event, upon click of 
    2543      * "CMS Evaluation Event" button. 
    2544      * 
    2545      * @param evt the button press event 
    2546      */ 
    2547     private void cmsEvalButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cmsEvalButtonActionPerformed 
    2548         currentEventType = ScriptEventType.CMS_EVAL_EVENT; 
    2549         for (JButton eb : eventButtons) 
    2550         { 
    2551             eb.setSelected(false); 
    2552         } 
    2553         cmsEvalButton.setSelected(true); 
    2554     }//GEN-LAST:event_cmsEvalButtonActionPerformed 
    2555  
    2556     /** 
    2557      * Selects CAD_EVAL_EVENT as the current type of new event, upon click of 
    2558      * "CAD Evaluation Event" button. 
    2559      * 
    2560      * @param evt the button press event 
    2561      */ 
    2562     private void cadEvalButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cadEvalButtonActionPerformed 
    2563         currentEventType = ScriptEventType.CAD_EVAL_EVENT; 
    2564         for (JButton eb : eventButtons) 
    2565         { 
    2566             eb.setSelected(false); 
    2567         } 
    2568         cadEvalButton.setSelected(true); 
    2569     }//GEN-LAST:event_cadEvalButtonActionPerformed 
    2570  
    2571     /** 
    2572      * Selects ACTIVITY_LOG_EVAL_EVENT as the current type of new event, upon 
    2573      * click of "Activity Log Evaluation Event" button. 
    2574      * 
    2575      * @param evt the button press event 
    2576      */ 
    2577     private void activityLogEvalButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_activityLogEvalButtonActionPerformed 
    2578         currentEventType = ScriptEventType.ACTIVITY_LOG_EVAL_EVENT; 
    2579         for (JButton eb : eventButtons) 
    2580         { 
    2581             eb.setSelected(false); 
    2582         } 
    2583         activityLogEvalButton.setSelected(true); 
    2584     }//GEN-LAST:event_activityLogEvalButtonActionPerformed 
    2585  
    2586     /** 
    2587      * Selects RADIO_EVAL_EVENT as the current type of new event, upon click of 
    2588      * "Radio Evaluation Event" button. 
    2589      * 
    2590      * @param evt the button press event 
    2591      */ 
    2592     private void radioEvalButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_radioEvalButtonActionPerformed 
    2593         currentEventType = ScriptEventType.RADIO_EVAL_EVENT; 
    2594         for (JButton eb : eventButtons) 
    2595         { 
    2596             eb.setSelected(false); 
    2597         } 
    2598         radioEvalButton.setSelected(true); 
    2599     }//GEN-LAST:event_radioEvalButtonActionPerformed 
    2600  
    2601     /** 
    2602      * Selects FACILITATOR_EVAL_EVENT as the current type of new event, upon 
    2603      * click of "Facilitator Evaluation Event" button. 
    2604      * 
    2605      * @param evt the button press event 
    2606      */ 
    2607     private void facilitatorEvalButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_facilitatorEvalButtonActionPerformed 
    2608         currentEventType = ScriptEventType.FACILITATOR_EVAL_EVENT; 
    2609         for (JButton eb : eventButtons) 
    2610         { 
    2611             eb.setSelected(false); 
    2612         } 
    2613         facilitatorEvalButton.setSelected(true); 
    2614     }//GEN-LAST:event_facilitatorEvalButtonActionPerformed 
    2615  
    2616     /** 
    2617      * Selects AUDIO_EVENT as the current type of new event, upon click of 
    2618      * "Audio Event" button. 
    2619      * 
    2620      * @param evt the button press event 
    2621      */ 
    2622     private void audioButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_audioButtonActionPerformed 
    2623         currentEventType = ScriptEventType.AUDIO_EVENT; 
    2624         for (JButton eb : eventButtons) 
    2625         { 
    2626             eb.setSelected(false); 
    2627         } 
    2628         audioButton.setSelected(true); 
    2629     }//GEN-LAST:event_audioButtonActionPerformed 
    26301838 
    26311839    /** 
     
    28012009    } 
    28022010    // Variables declaration - do not modify//GEN-BEGIN:variables 
    2803     private javax.swing.JButton activityLogEvalButton; 
    28042011    private javax.swing.JTextArea addIncidentDescription; 
    28052012    private javax.swing.JSpinner addIncidentLength; 
     
    28082015    private javax.swing.JSpinner addIncidentStart; 
    28092016    private javax.swing.JFrame addNoiseFrame; 
    2810     private javax.swing.JButton atmsEvalButton; 
    2811     private javax.swing.JButton audioButton; 
    2812     private javax.swing.JButton cadButton; 
    2813     private javax.swing.JButton cadEvalButton; 
    28142017    private javax.swing.JMenuItem cadEvent; 
    28152018    private javax.swing.JFrame cadEventFrame; 
    28162019    private javax.swing.JButton cancelButton; 
    2817     private javax.swing.JButton cctvButton; 
    2818     private javax.swing.JButton chpRadioButton; 
    2819     private javax.swing.JButton cmsEvalButton; 
    28202020    private javax.swing.JMenuItem deleteEventList; 
    28212021    private javax.swing.JMenuItem editEventList; 
    28222022    private javax.swing.JMenuItem editIncident; 
    2823     private javax.swing.JPanel evaluationEventsPanel; 
    28242023    private javax.swing.JPopupMenu eventListPopupMenu; 
    28252024    private javax.swing.JPopupMenu eventPopupMenu; 
    2826     private javax.swing.JButton facilitatorEvalButton; 
    28272025    private javax.swing.JMenu fileMenu; 
    28282026    private javax.swing.JMenuItem fileNew; 
     
    28442042    private javax.swing.JTextField incidentColorField; 
    28452043    private javax.swing.JMenuItem incidentDetails; 
    2846     private javax.swing.JPanel incidentEventsPanel; 
    28472044    private javax.swing.JFrame incidentFrame; 
    28482045    private javax.swing.JMenu incidentMenu; 
     
    29042101    private javax.swing.JTextArea jTextArea1; 
    29052102    private javax.swing.JMenuItem loadIncident; 
    2906     private javax.swing.JButton maintenanceRadioButton; 
    29072103    private javax.swing.JMenuItem newIncident; 
    29082104    private javax.swing.JButton okButton; 
    2909     private javax.swing.JButton paramicsButton; 
    29102105    private javax.swing.JMenuItem popupDeleteIncident; 
    2911     private javax.swing.JButton radioEvalButton; 
    29122106    private javax.swing.JMenuItem radioEvent; 
    29132107    private javax.swing.JFrame radioEventFrame; 
     
    29182112    private javax.swing.JMenuItem saveIncident; 
    29192113    private javax.swing.JMenuBar scriptBuilderMenuBar; 
    2920     private javax.swing.JButton selectButton; 
    2921     private javax.swing.JButton telephoneButton; 
    29222114    private scriptbuilder.gui.panels.TimeStampPanel timeStampPanel; 
    29232115    private javax.swing.JScrollPane timeStampScrollPane; 
    29242116    private scriptbuilder.gui.panels.TimelineTickPanel timelineTickPanel; 
    29252117    private javax.swing.JScrollPane timelinesScrollPane; 
    2926     private javax.swing.JButton tmtRadioButton; 
    2927     private javax.swing.JButton towButton; 
    2928     private javax.swing.JButton unitButton; 
    2929     private javax.swing.JButton witnessButton; 
    29302118    private javax.swing.JLabel zoomInIcon; 
    29312119    private javax.swing.JLabel zoomOutIcon; 
Note: See TracChangeset for help on using the changeset viewer.