From e6d41ced43d1c6db051f58a0ee98312340f72b6e Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Tue, 16 Jun 2015 16:53:13 +0200 Subject: [PATCH] Closedown --- plugins/TestingList.form | 75 +++++++++++++++++++++++++++++++++------- plugins/TestingList.java | 44 +++++++++++++++++------ 2 files changed, 95 insertions(+), 24 deletions(-) diff --git a/plugins/TestingList.form b/plugins/TestingList.form index 1138f1c..ea7e9c2 100644 --- a/plugins/TestingList.form +++ b/plugins/TestingList.form @@ -100,19 +100,6 @@ - - - - - - - - - - - - - @@ -138,6 +125,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/TestingList.java b/plugins/TestingList.java index 1528627..34f4697 100644 --- a/plugins/TestingList.java +++ b/plugins/TestingList.java @@ -246,8 +246,11 @@ public class TestingList extends Panel { jTable1 = new javax.swing.JTable(); jPanel1 = new javax.swing.JPanel(); jButtonRun = new javax.swing.JButton(); - jCheckBox1 = new javax.swing.JCheckBox(); jButtonOpenLog = new javax.swing.JButton(); + jPanel2 = new javax.swing.JPanel(); + jCheckBox1 = new javax.swing.JCheckBox(); + jButton2 = new javax.swing.JButton(); + jButton1 = new javax.swing.JButton(); setLayout(new java.awt.BorderLayout()); @@ -320,14 +323,6 @@ public class TestingList extends Panel { }); jPanel1.add(jButtonRun, java.awt.BorderLayout.CENTER); - jCheckBox1.setToolTipText("Select/Deselect All Tests"); - jCheckBox1.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - jCheckBox1ActionPerformed(evt); - } - }); - jPanel1.add(jCheckBox1, java.awt.BorderLayout.WEST); - jButtonOpenLog.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons/log-icon-64px.png"))); // NOI18N jButtonOpenLog.setToolTipText("Open current sessions Log"); jButtonOpenLog.setMaximumSize(new java.awt.Dimension(80, 39)); @@ -340,6 +335,30 @@ public class TestingList extends Panel { }); jPanel1.add(jButtonOpenLog, java.awt.BorderLayout.EAST); + jPanel2.setLayout(new java.awt.BorderLayout()); + + jCheckBox1.setToolTipText("Select/Deselect All Tests"); + jCheckBox1.addActionListener(new java.awt.event.ActionListener() { + public void actionPerformed(java.awt.event.ActionEvent evt) { + jCheckBox1ActionPerformed(evt); + } + }); + jPanel2.add(jCheckBox1, java.awt.BorderLayout.WEST); + + jButton2.setText("jButton2"); + jButton2.setMaximumSize(new java.awt.Dimension(25, 25)); + jButton2.setMinimumSize(new java.awt.Dimension(25, 25)); + jButton2.setPreferredSize(new java.awt.Dimension(25, 25)); + jPanel2.add(jButton2, java.awt.BorderLayout.SOUTH); + + jButton1.setText("jButton1"); + jButton1.setMaximumSize(new java.awt.Dimension(25, 25)); + jButton1.setMinimumSize(new java.awt.Dimension(25, 25)); + jButton1.setPreferredSize(new java.awt.Dimension(25, 25)); + jPanel2.add(jButton1, java.awt.BorderLayout.PAGE_START); + + jPanel1.add(jPanel2, java.awt.BorderLayout.LINE_START); + add(jPanel1, java.awt.BorderLayout.NORTH); }// //GEN-END:initComponents @@ -424,10 +443,13 @@ public class TestingList extends Panel { }//GEN-LAST:event_jTable1KeyReleased // Variables declaration - do not modify//GEN-BEGIN:variables + private javax.swing.JButton jButton1; + private javax.swing.JButton jButton2; private javax.swing.JButton jButtonOpenLog; private javax.swing.JButton jButtonRun; private javax.swing.JCheckBox jCheckBox1; private javax.swing.JPanel jPanel1; + private javax.swing.JPanel jPanel2; private javax.swing.JScrollPane jScrollPane2; private javax.swing.JTable jTable1; // End of variables declaration//GEN-END:variables @@ -455,11 +477,11 @@ public class TestingList extends Panel { switch (status) { case "Success": icon = TestStatus.SUCCESS.Icon(); - logger.log(Level.INFO, "Device: " + deviceName + "; Test: " + sTestName + " Result: " + res + " (" + status + ")"); + logger.log(Level.INFO, "Device: " + deviceName + "; Test: " + sTestName + "; Result: " + res + " (" + status + ")"); break; case "Failure": icon = TestStatus.FAILURE.Icon(); - logger.log(Level.SEVERE, "Device: " + deviceName + "; Test: " + sTestName + " Result: " + res + " (" + status + ")"); + logger.log(Level.SEVERE, "Device: " + deviceName + "; Test: " + sTestName + "; Result: " + res + " (" + status + ")"); break; case "Running": icon = TestStatus.RUNNING.Icon();