New: progressive disclosure of Test Details
This commit is contained in:
@@ -48,6 +48,14 @@
|
||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItemNewDeviceActionPerformed"/>
|
||||
</Events>
|
||||
</MenuItem>
|
||||
<MenuItem class="javax.swing.JMenuItem" name="jMenuItemEditScript">
|
||||
<Properties>
|
||||
<Property name="text" type="java.lang.String" value="Edit selected test"/>
|
||||
</Properties>
|
||||
<Events>
|
||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItemEditScriptActionPerformed"/>
|
||||
</Events>
|
||||
</MenuItem>
|
||||
<MenuItem class="javax.swing.JPopupMenu$Separator" name="jSeparator6">
|
||||
</MenuItem>
|
||||
<Menu class="javax.swing.JMenu" name="jMenuLoadCustomPanel">
|
||||
@@ -60,14 +68,6 @@
|
||||
</Menu>
|
||||
<MenuItem class="javax.swing.JPopupMenu$Separator" name="jSeparator2">
|
||||
</MenuItem>
|
||||
<MenuItem class="javax.swing.JMenuItem" name="jMenuItemEditScript">
|
||||
<Properties>
|
||||
<Property name="text" type="java.lang.String" value="Edit selected test"/>
|
||||
</Properties>
|
||||
<Events>
|
||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItemEditScriptActionPerformed"/>
|
||||
</Events>
|
||||
</MenuItem>
|
||||
<MenuItem class="javax.swing.JMenuItem" name="jMenuItemOpenLog">
|
||||
<Properties>
|
||||
<Property name="text" type="java.lang.String" value="Open Log"/>
|
||||
@@ -128,14 +128,6 @@
|
||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItemSelectAllActionPerformed"/>
|
||||
</Events>
|
||||
</MenuItem>
|
||||
<MenuItem class="javax.swing.JMenuItem" name="jMenuItemSelectNone">
|
||||
<Properties>
|
||||
<Property name="text" type="java.lang.String" value="Disable all"/>
|
||||
</Properties>
|
||||
<Events>
|
||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItemSelectNoneActionPerformed"/>
|
||||
</Events>
|
||||
</MenuItem>
|
||||
<MenuItem class="javax.swing.JMenuItem" name="jMenuItemSelectSelection">
|
||||
<Properties>
|
||||
<Property name="text" type="java.lang.String" value="Enable selection"/>
|
||||
@@ -144,6 +136,14 @@
|
||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItemSelectSelectionActionPerformed"/>
|
||||
</Events>
|
||||
</MenuItem>
|
||||
<MenuItem class="javax.swing.JMenuItem" name="jMenuItemSelectNone">
|
||||
<Properties>
|
||||
<Property name="text" type="java.lang.String" value="Disable all"/>
|
||||
</Properties>
|
||||
<Events>
|
||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItemSelectNoneActionPerformed"/>
|
||||
</Events>
|
||||
</MenuItem>
|
||||
<MenuItem class="javax.swing.JMenuItem" name="jMenuItemDeselectSelection">
|
||||
<Properties>
|
||||
<Property name="text" type="java.lang.String" value="Disable selection"/>
|
||||
@@ -152,6 +152,16 @@
|
||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItemDeselectSelectionActionPerformed"/>
|
||||
</Events>
|
||||
</MenuItem>
|
||||
<MenuItem class="javax.swing.JPopupMenu$Separator" name="jSeparator7">
|
||||
</MenuItem>
|
||||
<MenuItem class="javax.swing.JMenuItem" name="jMenuItemDeselect">
|
||||
<Properties>
|
||||
<Property name="text" type="java.lang.String" value="Deselect all"/>
|
||||
</Properties>
|
||||
<Events>
|
||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItemDeselectActionPerformed"/>
|
||||
</Events>
|
||||
</MenuItem>
|
||||
</SubComponents>
|
||||
</Menu>
|
||||
<Component class="javax.swing.JPopupMenu$Separator" name="jSeparator4">
|
||||
@@ -452,7 +462,7 @@
|
||||
<Font name="Tahoma" size="15" style="0"/>
|
||||
</Property>
|
||||
<Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.RADConnectionPropertyEditor" postCode="jTable1.getTableHeader().setReorderingAllowed(false);">
|
||||
<Connection code="new javax.swing.table.DefaultTableModel(
 new Object [][] {

 },
 new String [] {
 "Enable", "Start", "Time", "Device Name", "Device Description", "Test Suite", "Test Name", "Test Peth", "Test Parameters", "Test Description", "Test Help", "Last Test Result", "Status", ""
 }
) {
 Class[] types = new Class [] {
 java.lang.Boolean.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, javax.swing.Icon.class
 };
 boolean[] canEdit = new boolean [] {
 true, true, false, false, false, false, false, false, false, false, false, false, false, false
 };

 public Class getColumnClass(int columnIndex) {
 return types [columnIndex];
 }

 public boolean isCellEditable(int rowIndex, int columnIndex) {
 return canEdit [columnIndex];
 }
}" type="code"/>
|
||||
<Connection code="new javax.swing.table.DefaultTableModel(
 new Object [][] {

 },
 new String [] {
 "Enable", "Start Mode", "Time", "Device Name", "Device Description", "Test Suite", "Test Name", "Test Peth", "Test Parameters", "Test Description", "Test Help", "Last Test Result", "Status", ""
 }
) {
 Class[] types = new Class [] {
 java.lang.Boolean.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, javax.swing.Icon.class
 };
 boolean[] canEdit = new boolean [] {
 true, true, false, false, false, false, false, false, false, false, false, false, false, false
 };

 public Class getColumnClass(int columnIndex) {
 return types [columnIndex];
 }

 public boolean isCellEditable(int rowIndex, int columnIndex) {
 return canEdit [columnIndex];
 }
}" type="code"/>
|
||||
</Property>
|
||||
<Property name="columnModel" type="javax.swing.table.TableColumnModel" editor="org.netbeans.modules.form.editors2.TableColumnModelEditor">
|
||||
<TableColumnModel selectionModel="0"/>
|
||||
|
||||
@@ -690,10 +690,10 @@ public class TestingList extends Panel {
|
||||
jMenuAdvanced = new javax.swing.JMenu();
|
||||
jMenuItemNewTest = new javax.swing.JMenuItem();
|
||||
jMenuItemNewDevice = new javax.swing.JMenuItem();
|
||||
jMenuItemEditScript = new javax.swing.JMenuItem();
|
||||
jSeparator6 = new javax.swing.JPopupMenu.Separator();
|
||||
jMenuLoadCustomPanel = new javax.swing.JMenu();
|
||||
jSeparator2 = new javax.swing.JPopupMenu.Separator();
|
||||
jMenuItemEditScript = new javax.swing.JMenuItem();
|
||||
jMenuItemOpenLog = new javax.swing.JMenuItem();
|
||||
jPopupMenuConfigs = new javax.swing.JPopupMenu();
|
||||
jPopupMenuTable = new javax.swing.JPopupMenu();
|
||||
@@ -703,9 +703,11 @@ public class TestingList extends Panel {
|
||||
jSeparator3 = new javax.swing.JPopupMenu.Separator();
|
||||
jMenuSelect = new javax.swing.JMenu();
|
||||
jMenuItemSelectAll = new javax.swing.JMenuItem();
|
||||
jMenuItemSelectNone = new javax.swing.JMenuItem();
|
||||
jMenuItemSelectSelection = new javax.swing.JMenuItem();
|
||||
jMenuItemSelectNone = new javax.swing.JMenuItem();
|
||||
jMenuItemDeselectSelection = new javax.swing.JMenuItem();
|
||||
jSeparator7 = new javax.swing.JPopupMenu.Separator();
|
||||
jMenuItemDeselect = new javax.swing.JMenuItem();
|
||||
jSeparator4 = new javax.swing.JPopupMenu.Separator();
|
||||
jCheckBoxMenuShowSelectedTests1 = new javax.swing.JCheckBoxMenuItem();
|
||||
jMenuItemReload1 = new javax.swing.JMenuItem();
|
||||
@@ -765,6 +767,14 @@ public class TestingList extends Panel {
|
||||
}
|
||||
});
|
||||
jMenuAdvanced.add(jMenuItemNewDevice);
|
||||
|
||||
jMenuItemEditScript.setText("Edit selected test");
|
||||
jMenuItemEditScript.addActionListener(new java.awt.event.ActionListener() {
|
||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||
jMenuItemEditScriptActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
jMenuAdvanced.add(jMenuItemEditScript);
|
||||
jMenuAdvanced.add(jSeparator6);
|
||||
|
||||
jMenuLoadCustomPanel.setText("Load Custom Panel");
|
||||
@@ -780,14 +790,6 @@ public class TestingList extends Panel {
|
||||
jMenuAdvanced.add(jMenuLoadCustomPanel);
|
||||
jMenuAdvanced.add(jSeparator2);
|
||||
|
||||
jMenuItemEditScript.setText("Edit selected test");
|
||||
jMenuItemEditScript.addActionListener(new java.awt.event.ActionListener() {
|
||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||
jMenuItemEditScriptActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
jMenuAdvanced.add(jMenuItemEditScript);
|
||||
|
||||
jMenuItemOpenLog.setText("Open Log");
|
||||
jMenuItemOpenLog.addActionListener(new java.awt.event.ActionListener() {
|
||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||
@@ -827,14 +829,6 @@ public class TestingList extends Panel {
|
||||
});
|
||||
jMenuSelect.add(jMenuItemSelectAll);
|
||||
|
||||
jMenuItemSelectNone.setText("Disable all");
|
||||
jMenuItemSelectNone.addActionListener(new java.awt.event.ActionListener() {
|
||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||
jMenuItemSelectNoneActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
jMenuSelect.add(jMenuItemSelectNone);
|
||||
|
||||
jMenuItemSelectSelection.setText("Enable selection");
|
||||
jMenuItemSelectSelection.addActionListener(new java.awt.event.ActionListener() {
|
||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||
@@ -843,6 +837,14 @@ public class TestingList extends Panel {
|
||||
});
|
||||
jMenuSelect.add(jMenuItemSelectSelection);
|
||||
|
||||
jMenuItemSelectNone.setText("Disable all");
|
||||
jMenuItemSelectNone.addActionListener(new java.awt.event.ActionListener() {
|
||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||
jMenuItemSelectNoneActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
jMenuSelect.add(jMenuItemSelectNone);
|
||||
|
||||
jMenuItemDeselectSelection.setText("Disable selection");
|
||||
jMenuItemDeselectSelection.addActionListener(new java.awt.event.ActionListener() {
|
||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||
@@ -850,6 +852,15 @@ public class TestingList extends Panel {
|
||||
}
|
||||
});
|
||||
jMenuSelect.add(jMenuItemDeselectSelection);
|
||||
jMenuSelect.add(jSeparator7);
|
||||
|
||||
jMenuItemDeselect.setText("Deselect all");
|
||||
jMenuItemDeselect.addActionListener(new java.awt.event.ActionListener() {
|
||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||
jMenuItemDeselectActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
jMenuSelect.add(jMenuItemDeselect);
|
||||
|
||||
jPopupMenuTable.add(jMenuSelect);
|
||||
jPopupMenuTable.add(jSeparator4);
|
||||
@@ -989,7 +1000,7 @@ public class TestingList extends Panel {
|
||||
|
||||
},
|
||||
new String [] {
|
||||
"Enable", "Start", "Time", "Device Name", "Device Description", "Test Suite", "Test Name", "Test Peth", "Test Parameters", "Test Description", "Test Help", "Last Test Result", "Status", ""
|
||||
"Enable", "Start Mode", "Time", "Device Name", "Device Description", "Test Suite", "Test Name", "Test Peth", "Test Parameters", "Test Description", "Test Help", "Last Test Result", "Status", ""
|
||||
}
|
||||
) {
|
||||
Class[] types = new Class [] {
|
||||
@@ -1377,6 +1388,11 @@ public class TestingList extends Panel {
|
||||
this.closeCustomPanel();
|
||||
}//GEN-LAST:event_jMenuItemCustomCloseActionPerformed
|
||||
|
||||
private void jMenuItemDeselectActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItemDeselectActionPerformed
|
||||
// TODO add your handling code here:
|
||||
this.jTable1.clearSelection();
|
||||
}//GEN-LAST:event_jMenuItemDeselectActionPerformed
|
||||
|
||||
//<editor-fold defaultstate="collapsed" desc="Witget Variables declaration">
|
||||
// Variables declaration - do not modify//GEN-BEGIN:variables
|
||||
private javax.swing.JButton jButtonMoveDown;
|
||||
@@ -1392,6 +1408,7 @@ public class TestingList extends Panel {
|
||||
private javax.swing.JLabel jLabelCustomPanelName;
|
||||
private javax.swing.JMenu jMenuAdvanced;
|
||||
private javax.swing.JMenuItem jMenuItemCustomClose;
|
||||
private javax.swing.JMenuItem jMenuItemDeselect;
|
||||
private javax.swing.JMenuItem jMenuItemDeselectSelection;
|
||||
private javax.swing.JMenuItem jMenuItemEditScript;
|
||||
private javax.swing.JMenuItem jMenuItemNewDevice;
|
||||
@@ -1424,6 +1441,7 @@ public class TestingList extends Panel {
|
||||
private javax.swing.JPopupMenu.Separator jSeparator4;
|
||||
private javax.swing.JPopupMenu.Separator jSeparator5;
|
||||
private javax.swing.JPopupMenu.Separator jSeparator6;
|
||||
private javax.swing.JSeparator jSeparator7;
|
||||
private javax.swing.JTable jTable1;
|
||||
// End of variables declaration//GEN-END:variables
|
||||
//</editor-fold>
|
||||
|
||||
@@ -18,32 +18,49 @@
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Group type="102" attributes="0">
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Component id="jLabel4" max="-2" attributes="0"/>
|
||||
<Component id="jLabel5" max="-2" attributes="0"/>
|
||||
<Group type="103" groupAlignment="1" attributes="0">
|
||||
<Group type="102" attributes="0">
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Component id="jLabel1" max="-2" attributes="0"/>
|
||||
<Component id="jLabel2" max="-2" attributes="0"/>
|
||||
<Group type="103" groupAlignment="1" attributes="0">
|
||||
<Group type="103" groupAlignment="1" attributes="0">
|
||||
<Group type="103" groupAlignment="1" attributes="0">
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Component id="jLabel5" alignment="0" max="-2" attributes="0"/>
|
||||
<Component id="jLabel8" alignment="0" max="-2" attributes="0"/>
|
||||
<Component id="jLabel6" alignment="0" max="-2" attributes="0"/>
|
||||
<Component id="jLabel9" alignment="0" max="-2" attributes="0"/>
|
||||
<Component id="jLabel1" alignment="0" max="-2" attributes="0"/>
|
||||
<Component id="jLabel10" alignment="0" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
<Component id="jLabel4" alignment="0" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
<Component id="jLabel2" alignment="0" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
<Component id="jLabel7" alignment="0" max="-2" attributes="0"/>
|
||||
<Component id="jLabel6" alignment="0" max="-2" attributes="0"/>
|
||||
<Component id="jLabel8" alignment="0" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Group type="103" groupAlignment="0" max="-2" attributes="0">
|
||||
<Component id="txtDeviceName" alignment="0" max="32767" attributes="0"/>
|
||||
<Component id="txtDeviceDescription" alignment="0" max="32767" attributes="0"/>
|
||||
<Component id="jScrollPaneTestDesc" alignment="0" max="32767" attributes="0"/>
|
||||
<Component id="jScrollPaneRes" alignment="0" max="32767" attributes="0"/>
|
||||
<Component id="jScrollPaneParam" alignment="0" max="32767" attributes="0"/>
|
||||
<Group type="102" alignment="1" attributes="0">
|
||||
<Component id="txtTestResultSummary" min="-2" pref="440" max="-2" attributes="0"/>
|
||||
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
||||
<Component id="jButtonMoreResult" min="-2" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
<Component id="txtTestSuite" alignment="0" max="32767" attributes="0"/>
|
||||
<Component id="txtTestName" alignment="0" max="32767" attributes="0"/>
|
||||
<Component id="jScrollPane3" alignment="0" max="32767" attributes="0"/>
|
||||
<Component id="jScrollPane2" alignment="0" max="32767" attributes="0"/>
|
||||
<Component id="jScrollPane1" alignment="0" pref="513" max="32767" attributes="0"/>
|
||||
<Group type="102" alignment="0" attributes="0">
|
||||
<Component id="txtTestName" min="-2" pref="441" max="-2" attributes="0"/>
|
||||
<EmptySpace max="32767" attributes="0"/>
|
||||
<Component id="jButtonMoreTest" min="-2" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
</Group>
|
||||
</Group>
|
||||
<Component id="jButtonOk" alignment="1" min="-2" pref="96" max="-2" attributes="0"/>
|
||||
<Component id="jButtonOk" min="-2" pref="96" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
<EmptySpace type="separate" max="-2" attributes="0"/>
|
||||
<Component id="jScrollPane4" pref="317" max="32767" attributes="0"/>
|
||||
<Component id="jScrollPaneHtml" pref="272" max="32767" attributes="0"/>
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
</Group>
|
||||
</Group>
|
||||
@@ -55,46 +72,57 @@
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Group type="102" attributes="0">
|
||||
<Group type="103" groupAlignment="3" attributes="0">
|
||||
<Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||
<Component id="txtDeviceName" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Group type="103" groupAlignment="3" attributes="0">
|
||||
<Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||
<Component id="txtDeviceDescription" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Group type="103" groupAlignment="3" attributes="0">
|
||||
<Component id="jLabel4" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||
<Component id="txtTestSuite" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Group type="103" groupAlignment="3" attributes="0">
|
||||
<Component id="jLabel5" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||
<Component id="txtTestName" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||
<Component id="jButtonMoreTest" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||
<Component id="jLabel5" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Group type="103" groupAlignment="3" attributes="0">
|
||||
<Component id="txtTestSuite" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||
<Component id="jLabel4" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Component id="jLabel8" min="-2" max="-2" attributes="0"/>
|
||||
<Component id="jScrollPane3" min="-2" pref="81" max="-2" attributes="0"/>
|
||||
<Component id="jScrollPaneTestDesc" min="-2" pref="62" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Group type="103" groupAlignment="3" attributes="0">
|
||||
<Component id="jButtonMoreResult" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||
<Component id="jLabel6" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
<Component id="txtTestResultSummary" alignment="1" min="-2" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Component id="jScrollPane2" min="-2" pref="79" max="-2" attributes="0"/>
|
||||
<Component id="jLabel6" min="-2" max="-2" attributes="0"/>
|
||||
<Component id="jLabel9" min="-2" max="-2" attributes="0"/>
|
||||
<Component id="jScrollPaneRes" max="32767" attributes="0"/>
|
||||
</Group>
|
||||
<EmptySpace min="-2" max="-2" attributes="0"/>
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Component id="jLabel1" min="-2" max="-2" attributes="0"/>
|
||||
<Component id="txtDeviceName" alignment="0" min="-2" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
||||
<Group type="103" groupAlignment="3" attributes="0">
|
||||
<Component id="txtDeviceDescription" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||
<Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
<EmptySpace type="separate" max="-2" attributes="0"/>
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Component id="jScrollPaneParam" pref="0" max="32767" attributes="0"/>
|
||||
<Group type="102" attributes="0">
|
||||
<Component id="jLabel7" min="-2" max="-2" attributes="0"/>
|
||||
<EmptySpace min="0" pref="216" max="32767" attributes="0"/>
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Component id="jLabel10" min="-2" max="-2" attributes="0"/>
|
||||
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
|
||||
</Group>
|
||||
<Component id="jScrollPane1" pref="0" max="32767" attributes="0"/>
|
||||
</Group>
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Component id="jButtonOk" min="-2" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
<Component id="jScrollPane4" max="32767" attributes="0"/>
|
||||
<Component id="jScrollPaneHtml" pref="559" max="32767" attributes="0"/>
|
||||
</Group>
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
</Group>
|
||||
@@ -109,6 +137,9 @@
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="Device name"/>
|
||||
</Properties>
|
||||
<AuxValues>
|
||||
<AuxValue name="JavaCodeGenerator_InitCodePost" type="java.lang.String" value="jLabel1.setVisible(false);"/>
|
||||
</AuxValues>
|
||||
</Component>
|
||||
<Component class="javax.swing.JTextField" name="txtDeviceName">
|
||||
<Properties>
|
||||
@@ -118,6 +149,9 @@
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="jTextField1"/>
|
||||
</Properties>
|
||||
<AuxValues>
|
||||
<AuxValue name="JavaCodeGenerator_InitCodePost" type="java.lang.String" value="txtDeviceName.setVisible(false);"/>
|
||||
</AuxValues>
|
||||
</Component>
|
||||
<Component class="javax.swing.JLabel" name="jLabel2">
|
||||
<Properties>
|
||||
@@ -126,6 +160,9 @@
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="Device Description"/>
|
||||
</Properties>
|
||||
<AuxValues>
|
||||
<AuxValue name="JavaCodeGenerator_InitCodePost" type="java.lang.String" value="jLabel2.setVisible(false);"/>
|
||||
</AuxValues>
|
||||
</Component>
|
||||
<Component class="javax.swing.JTextField" name="txtDeviceDescription">
|
||||
<Properties>
|
||||
@@ -135,6 +172,9 @@
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="jTextField2"/>
|
||||
</Properties>
|
||||
<AuxValues>
|
||||
<AuxValue name="JavaCodeGenerator_InitCodePost" type="java.lang.String" value="txtDeviceDescription.setVisible(false);"/>
|
||||
</AuxValues>
|
||||
</Component>
|
||||
<Component class="javax.swing.JLabel" name="jLabel4">
|
||||
<Properties>
|
||||
@@ -143,6 +183,9 @@
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="Test Case/Suite"/>
|
||||
</Properties>
|
||||
<AuxValues>
|
||||
<AuxValue name="JavaCodeGenerator_InitCodePost" type="java.lang.String" value="jLabel4.setVisible(false);"/>
|
||||
</AuxValues>
|
||||
</Component>
|
||||
<Component class="javax.swing.JTextField" name="txtTestSuite">
|
||||
<Properties>
|
||||
@@ -152,11 +195,14 @@
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="jTextField2"/>
|
||||
</Properties>
|
||||
<AuxValues>
|
||||
<AuxValue name="JavaCodeGenerator_InitCodePost" type="java.lang.String" value="txtTestSuite.setVisible(false);"/>
|
||||
</AuxValues>
|
||||
</Component>
|
||||
<Component class="javax.swing.JLabel" name="jLabel5">
|
||||
<Properties>
|
||||
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
|
||||
<Font name="Tahoma" size="14" style="0"/>
|
||||
<Font name="Tahoma" size="14" style="1"/>
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="Test Name"/>
|
||||
</Properties>
|
||||
@@ -173,12 +219,17 @@
|
||||
<Component class="javax.swing.JLabel" name="jLabel6">
|
||||
<Properties>
|
||||
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
|
||||
<Font name="Tahoma" size="14" style="0"/>
|
||||
<Font name="Tahoma" size="14" style="1"/>
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="Last Test Result"/>
|
||||
</Properties>
|
||||
</Component>
|
||||
<Container class="javax.swing.JScrollPane" name="jScrollPane1">
|
||||
<Container class="javax.swing.JScrollPane" name="jScrollPaneParam">
|
||||
<Properties>
|
||||
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
||||
<Dimension value="[150, 100]"/>
|
||||
</Property>
|
||||
</Properties>
|
||||
<AuxValues>
|
||||
<AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
|
||||
</AuxValues>
|
||||
@@ -217,6 +268,9 @@
|
||||
</TableColumnModel>
|
||||
</Property>
|
||||
<Property name="dragEnabled" type="boolean" value="true"/>
|
||||
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
||||
<Dimension value="[180, 100]"/>
|
||||
</Property>
|
||||
<Property name="rowHeight" type="int" value="20"/>
|
||||
<Property name="tableHeader" type="javax.swing.table.JTableHeader" editor="org.netbeans.modules.form.editors2.JTableHeaderEditor">
|
||||
<TableHeader reorderingAllowed="true" resizingAllowed="true"/>
|
||||
@@ -228,18 +282,25 @@
|
||||
<Component class="javax.swing.JLabel" name="jLabel7">
|
||||
<Properties>
|
||||
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
|
||||
<Font name="Tahoma" size="14" style="0"/>
|
||||
<Font name="Tahoma" size="14" style="1"/>
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="Test Parameters"/>
|
||||
</Properties>
|
||||
</Component>
|
||||
<Container class="javax.swing.JScrollPane" name="jScrollPane2">
|
||||
<Container class="javax.swing.JScrollPane" name="jScrollPaneRes">
|
||||
<Properties>
|
||||
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
|
||||
<Font name="Tahoma" size="14" style="0"/>
|
||||
</Property>
|
||||
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
||||
<Dimension value="[150, 100]"/>
|
||||
</Property>
|
||||
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
||||
<Dimension value="[146, 91]"/>
|
||||
</Property>
|
||||
</Properties>
|
||||
<AuxValues>
|
||||
<AuxValue name="JavaCodeGenerator_InitCodePost" type="java.lang.String" value="jScrollPaneRes.setVisible(false);"/>
|
||||
<AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
|
||||
</AuxValues>
|
||||
|
||||
@@ -248,6 +309,9 @@
|
||||
<Component class="javax.swing.JTextArea" name="txtTestResult">
|
||||
<Properties>
|
||||
<Property name="editable" type="boolean" value="false"/>
|
||||
<Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
|
||||
<Color blue="f0" green="f0" id="Button.background" palette="3" red="f0" type="palette"/>
|
||||
</Property>
|
||||
<Property name="columns" type="int" value="20"/>
|
||||
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
|
||||
<Font name="Tahoma" size="14" style="0"/>
|
||||
@@ -265,14 +329,18 @@
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="Test Description"/>
|
||||
</Properties>
|
||||
<AuxValues>
|
||||
<AuxValue name="JavaCodeGenerator_InitCodePost" type="java.lang.String" value="jLabel8.setVisible(false);"/>
|
||||
</AuxValues>
|
||||
</Component>
|
||||
<Container class="javax.swing.JScrollPane" name="jScrollPane3">
|
||||
<Container class="javax.swing.JScrollPane" name="jScrollPaneTestDesc">
|
||||
<Properties>
|
||||
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
|
||||
<Font name="Tahoma" size="14" style="0"/>
|
||||
</Property>
|
||||
</Properties>
|
||||
<AuxValues>
|
||||
<AuxValue name="JavaCodeGenerator_InitCodePost" type="java.lang.String" value="jScrollPaneTestDesc.setVisible(false);"/>
|
||||
<AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
|
||||
</AuxValues>
|
||||
|
||||
@@ -281,6 +349,9 @@
|
||||
<Component class="javax.swing.JTextArea" name="txtTestDescription">
|
||||
<Properties>
|
||||
<Property name="editable" type="boolean" value="false"/>
|
||||
<Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
|
||||
<Color blue="f0" green="f0" id="Button.background" palette="3" red="f0" type="palette"/>
|
||||
</Property>
|
||||
<Property name="columns" type="int" value="20"/>
|
||||
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
|
||||
<Font name="Tahoma" size="14" style="0"/>
|
||||
@@ -291,7 +362,7 @@
|
||||
</Component>
|
||||
</SubComponents>
|
||||
</Container>
|
||||
<Container class="javax.swing.JScrollPane" name="jScrollPane4">
|
||||
<Container class="javax.swing.JScrollPane" name="jScrollPaneHtml">
|
||||
<AuxValues>
|
||||
<AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
|
||||
</AuxValues>
|
||||
@@ -307,6 +378,12 @@
|
||||
<Property name="dropMode" type="javax.swing.DropMode" editor="org.netbeans.modules.form.editors.EnumEditor">
|
||||
<Value id="INSERT"/>
|
||||
</Property>
|
||||
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
||||
<Dimension value="[6, 400]"/>
|
||||
</Property>
|
||||
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
||||
<Dimension value="[6, 400]"/>
|
||||
</Property>
|
||||
</Properties>
|
||||
</Component>
|
||||
</SubComponents>
|
||||
@@ -320,5 +397,55 @@
|
||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonOkActionPerformed"/>
|
||||
</Events>
|
||||
</Component>
|
||||
<Component class="javax.swing.JTextField" name="txtTestResultSummary">
|
||||
<Properties>
|
||||
<Property name="editable" type="boolean" value="false"/>
|
||||
<Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
|
||||
<Color blue="f0" green="f0" id="Button.background" palette="3" red="f0" type="palette"/>
|
||||
</Property>
|
||||
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
|
||||
<Font name="Tahoma" size="14" style="0"/>
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="jTextField1"/>
|
||||
</Properties>
|
||||
<Events>
|
||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtTestResultSummaryActionPerformed"/>
|
||||
</Events>
|
||||
</Component>
|
||||
<Component class="javax.swing.JButton" name="jButtonMoreResult">
|
||||
<Properties>
|
||||
<Property name="text" type="java.lang.String" value="More"/>
|
||||
</Properties>
|
||||
<Events>
|
||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonMoreResultActionPerformed"/>
|
||||
</Events>
|
||||
</Component>
|
||||
<Component class="javax.swing.JButton" name="jButtonMoreTest">
|
||||
<Properties>
|
||||
<Property name="text" type="java.lang.String" value="More"/>
|
||||
</Properties>
|
||||
<Events>
|
||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonMoreTestActionPerformed"/>
|
||||
</Events>
|
||||
</Component>
|
||||
<Component class="javax.swing.JLabel" name="jLabel9">
|
||||
<Properties>
|
||||
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
|
||||
<Font name="Tahoma" size="14" style="0"/>
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="Last Result Details"/>
|
||||
</Properties>
|
||||
<AuxValues>
|
||||
<AuxValue name="JavaCodeGenerator_InitCodePost" type="java.lang.String" value="jLabel9.setVisible(false);"/>
|
||||
</AuxValues>
|
||||
</Component>
|
||||
<Component class="javax.swing.JLabel" name="jLabel10">
|
||||
<Properties>
|
||||
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
|
||||
<Font name="Tahoma" size="14" style="0"/>
|
||||
</Property>
|
||||
<Property name="text" type="java.lang.String" value="(Value valid for all devices)"/>
|
||||
</Properties>
|
||||
</Component>
|
||||
</SubComponents>
|
||||
</Form>
|
||||
|
||||
@@ -72,49 +72,62 @@ public class TestingListDetails extends javax.swing.JPanel {
|
||||
jLabel5 = new javax.swing.JLabel();
|
||||
txtTestName = new javax.swing.JTextField();
|
||||
jLabel6 = new javax.swing.JLabel();
|
||||
jScrollPane1 = new javax.swing.JScrollPane();
|
||||
jScrollPaneParam = new javax.swing.JScrollPane();
|
||||
jTableParams = new javax.swing.JTable();
|
||||
jLabel7 = new javax.swing.JLabel();
|
||||
jScrollPane2 = new javax.swing.JScrollPane();
|
||||
jScrollPaneRes = new javax.swing.JScrollPane();
|
||||
txtTestResult = new javax.swing.JTextArea();
|
||||
jLabel8 = new javax.swing.JLabel();
|
||||
jScrollPane3 = new javax.swing.JScrollPane();
|
||||
jScrollPaneTestDesc = new javax.swing.JScrollPane();
|
||||
txtTestDescription = new javax.swing.JTextArea();
|
||||
jScrollPane4 = new javax.swing.JScrollPane();
|
||||
jScrollPaneHtml = new javax.swing.JScrollPane();
|
||||
jEditorPaneHelp = new javax.swing.JEditorPane();
|
||||
jButtonOk = new javax.swing.JButton();
|
||||
txtTestResultSummary = new javax.swing.JTextField();
|
||||
jButtonMoreResult = new javax.swing.JButton();
|
||||
jButtonMoreTest = new javax.swing.JButton();
|
||||
jLabel9 = new javax.swing.JLabel();
|
||||
jLabel10 = new javax.swing.JLabel();
|
||||
|
||||
jLabel1.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
|
||||
jLabel1.setText("Device name");
|
||||
jLabel1.setVisible(false);
|
||||
|
||||
txtDeviceName.setEditable(false);
|
||||
txtDeviceName.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
|
||||
txtDeviceName.setText("jTextField1");
|
||||
txtDeviceName.setVisible(false);
|
||||
|
||||
jLabel2.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
|
||||
jLabel2.setText("Device Description");
|
||||
jLabel2.setVisible(false);
|
||||
|
||||
txtDeviceDescription.setEditable(false);
|
||||
txtDeviceDescription.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
|
||||
txtDeviceDescription.setText("jTextField2");
|
||||
txtDeviceDescription.setVisible(false);
|
||||
|
||||
jLabel4.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
|
||||
jLabel4.setText("Test Case/Suite");
|
||||
jLabel4.setVisible(false);
|
||||
|
||||
txtTestSuite.setEditable(false);
|
||||
txtTestSuite.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
|
||||
txtTestSuite.setText("jTextField2");
|
||||
txtTestSuite.setVisible(false);
|
||||
|
||||
jLabel5.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
|
||||
jLabel5.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
|
||||
jLabel5.setText("Test Name");
|
||||
|
||||
txtTestName.setEditable(false);
|
||||
txtTestName.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
|
||||
txtTestName.setText("jTextField2");
|
||||
|
||||
jLabel6.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
|
||||
jLabel6.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
|
||||
jLabel6.setText("Last Test Result");
|
||||
|
||||
jScrollPaneParam.setMinimumSize(new java.awt.Dimension(150, 100));
|
||||
|
||||
jTableParams.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
|
||||
jTableParams.setModel(new javax.swing.table.DefaultTableModel(
|
||||
new Object [][] {
|
||||
@@ -133,8 +146,9 @@ public class TestingListDetails extends javax.swing.JPanel {
|
||||
}
|
||||
});
|
||||
jTableParams.setDragEnabled(true);
|
||||
jTableParams.setMinimumSize(new java.awt.Dimension(180, 100));
|
||||
jTableParams.setRowHeight(20);
|
||||
jScrollPane1.setViewportView(jTableParams);
|
||||
jScrollPaneParam.setViewportView(jTableParams);
|
||||
if (jTableParams.getColumnModel().getColumnCount() > 0) {
|
||||
jTableParams.getColumnModel().getColumn(0).setMinWidth(150);
|
||||
jTableParams.getColumnModel().getColumn(0).setPreferredWidth(150);
|
||||
@@ -143,34 +157,43 @@ public class TestingListDetails extends javax.swing.JPanel {
|
||||
jTableParams.getColumnModel().getColumn(1).setMaxWidth(100);
|
||||
}
|
||||
|
||||
jLabel7.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
|
||||
jLabel7.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
|
||||
jLabel7.setText("Test Parameters");
|
||||
|
||||
jScrollPane2.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
|
||||
jScrollPaneRes.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
|
||||
jScrollPaneRes.setMinimumSize(new java.awt.Dimension(150, 100));
|
||||
jScrollPaneRes.setPreferredSize(new java.awt.Dimension(146, 91));
|
||||
jScrollPaneRes.setVisible(false);
|
||||
|
||||
txtTestResult.setEditable(false);
|
||||
txtTestResult.setBackground(javax.swing.UIManager.getDefaults().getColor("Button.background"));
|
||||
txtTestResult.setColumns(20);
|
||||
txtTestResult.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
|
||||
txtTestResult.setLineWrap(true);
|
||||
txtTestResult.setRows(5);
|
||||
jScrollPane2.setViewportView(txtTestResult);
|
||||
jScrollPaneRes.setViewportView(txtTestResult);
|
||||
|
||||
jLabel8.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
|
||||
jLabel8.setText("Test Description");
|
||||
jLabel8.setVisible(false);
|
||||
|
||||
jScrollPane3.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
|
||||
jScrollPaneTestDesc.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
|
||||
jScrollPaneTestDesc.setVisible(false);
|
||||
|
||||
txtTestDescription.setEditable(false);
|
||||
txtTestDescription.setBackground(javax.swing.UIManager.getDefaults().getColor("Button.background"));
|
||||
txtTestDescription.setColumns(20);
|
||||
txtTestDescription.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
|
||||
txtTestDescription.setLineWrap(true);
|
||||
txtTestDescription.setRows(5);
|
||||
jScrollPane3.setViewportView(txtTestDescription);
|
||||
jScrollPaneTestDesc.setViewportView(txtTestDescription);
|
||||
|
||||
jEditorPaneHelp.setContentType("text/html"); // NOI18N
|
||||
jEditorPaneHelp.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
|
||||
jEditorPaneHelp.setDropMode(javax.swing.DropMode.INSERT);
|
||||
jScrollPane4.setViewportView(jEditorPaneHelp);
|
||||
jEditorPaneHelp.setMinimumSize(new java.awt.Dimension(6, 400));
|
||||
jEditorPaneHelp.setPreferredSize(new java.awt.Dimension(6, 400));
|
||||
jScrollPaneHtml.setViewportView(jEditorPaneHelp);
|
||||
|
||||
jButtonOk.setText("Save");
|
||||
jButtonOk.setToolTipText("Save parameters values");
|
||||
@@ -180,34 +203,77 @@ public class TestingListDetails extends javax.swing.JPanel {
|
||||
}
|
||||
});
|
||||
|
||||
txtTestResultSummary.setEditable(false);
|
||||
txtTestResultSummary.setBackground(javax.swing.UIManager.getDefaults().getColor("Button.background"));
|
||||
txtTestResultSummary.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
|
||||
txtTestResultSummary.setText("jTextField1");
|
||||
txtTestResultSummary.addActionListener(new java.awt.event.ActionListener() {
|
||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||
txtTestResultSummaryActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
|
||||
jButtonMoreResult.setText("More");
|
||||
jButtonMoreResult.addActionListener(new java.awt.event.ActionListener() {
|
||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||
jButtonMoreResultActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
|
||||
jButtonMoreTest.setText("More");
|
||||
jButtonMoreTest.addActionListener(new java.awt.event.ActionListener() {
|
||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||
jButtonMoreTestActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
|
||||
jLabel9.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
|
||||
jLabel9.setText("Last Result Details");
|
||||
jLabel9.setVisible(false);
|
||||
|
||||
jLabel10.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
|
||||
jLabel10.setText("(Value valid for all devices)");
|
||||
|
||||
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
|
||||
this.setLayout(layout);
|
||||
layout.setHorizontalGroup(
|
||||
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||
.addGroup(layout.createSequentialGroup()
|
||||
.addContainerGap()
|
||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||
.addComponent(jLabel4)
|
||||
.addComponent(jLabel5)
|
||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
|
||||
.addGroup(layout.createSequentialGroup()
|
||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||
.addComponent(jLabel1)
|
||||
.addComponent(jLabel2)
|
||||
.addComponent(jLabel7)
|
||||
.addComponent(jLabel6)
|
||||
.addComponent(jLabel8))
|
||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
|
||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
|
||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
|
||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||
.addComponent(jLabel5)
|
||||
.addComponent(jLabel8)
|
||||
.addComponent(jLabel6)
|
||||
.addComponent(jLabel9)
|
||||
.addComponent(jLabel1)
|
||||
.addComponent(jLabel10))
|
||||
.addComponent(jLabel4, javax.swing.GroupLayout.Alignment.LEADING))
|
||||
.addComponent(jLabel2, javax.swing.GroupLayout.Alignment.LEADING))
|
||||
.addComponent(jLabel7, javax.swing.GroupLayout.Alignment.LEADING))
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
|
||||
.addComponent(txtDeviceName)
|
||||
.addComponent(txtDeviceDescription)
|
||||
.addComponent(jScrollPaneTestDesc)
|
||||
.addComponent(jScrollPaneRes, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
||||
.addComponent(jScrollPaneParam, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
||||
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
|
||||
.addComponent(txtTestResultSummary, javax.swing.GroupLayout.PREFERRED_SIZE, 440, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
||||
.addComponent(jButtonMoreResult))
|
||||
.addComponent(txtTestSuite)
|
||||
.addComponent(txtTestName)
|
||||
.addComponent(jScrollPane3)
|
||||
.addComponent(jScrollPane2)
|
||||
.addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 513, Short.MAX_VALUE)))
|
||||
.addComponent(jButtonOk, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 96, javax.swing.GroupLayout.PREFERRED_SIZE))
|
||||
.addGroup(layout.createSequentialGroup()
|
||||
.addComponent(txtTestName, javax.swing.GroupLayout.PREFERRED_SIZE, 441, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
||||
.addComponent(jButtonMoreTest))))
|
||||
.addComponent(jButtonOk, javax.swing.GroupLayout.PREFERRED_SIZE, 96, javax.swing.GroupLayout.PREFERRED_SIZE))
|
||||
.addGap(18, 18, 18)
|
||||
.addComponent(jScrollPane4, javax.swing.GroupLayout.DEFAULT_SIZE, 317, Short.MAX_VALUE)
|
||||
.addComponent(jScrollPaneHtml, javax.swing.GroupLayout.DEFAULT_SIZE, 272, Short.MAX_VALUE)
|
||||
.addContainerGap())
|
||||
);
|
||||
layout.setVerticalGroup(
|
||||
@@ -217,37 +283,46 @@ public class TestingListDetails extends javax.swing.JPanel {
|
||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||
.addGroup(layout.createSequentialGroup()
|
||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
||||
.addComponent(jLabel1)
|
||||
.addComponent(txtDeviceName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
|
||||
.addComponent(txtTestName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||
.addComponent(jButtonMoreTest)
|
||||
.addComponent(jLabel5))
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
||||
.addComponent(jLabel2)
|
||||
.addComponent(txtDeviceDescription, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
||||
.addComponent(jLabel4)
|
||||
.addComponent(txtTestSuite, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
||||
.addComponent(jLabel5)
|
||||
.addComponent(txtTestName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
|
||||
.addComponent(txtTestSuite, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||
.addComponent(jLabel4))
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||
.addComponent(jLabel8)
|
||||
.addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 81, javax.swing.GroupLayout.PREFERRED_SIZE))
|
||||
.addComponent(jScrollPaneTestDesc, javax.swing.GroupLayout.PREFERRED_SIZE, 62, javax.swing.GroupLayout.PREFERRED_SIZE))
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
||||
.addComponent(jButtonMoreResult)
|
||||
.addComponent(jLabel6))
|
||||
.addComponent(txtTestResultSummary, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||
.addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 79, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||
.addComponent(jLabel6))
|
||||
.addComponent(jLabel9)
|
||||
.addComponent(jScrollPaneRes, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||
.addComponent(jLabel1)
|
||||
.addComponent(txtDeviceName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
||||
.addComponent(txtDeviceDescription, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||
.addComponent(jLabel2))
|
||||
.addGap(18, 18, 18)
|
||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||
.addComponent(jScrollPaneParam, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
|
||||
.addGroup(layout.createSequentialGroup()
|
||||
.addComponent(jLabel7)
|
||||
.addGap(0, 216, Short.MAX_VALUE))
|
||||
.addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE))
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||
.addComponent(jLabel10)
|
||||
.addGap(0, 0, Short.MAX_VALUE)))
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||
.addComponent(jButtonOk))
|
||||
.addComponent(jScrollPane4))
|
||||
.addComponent(jScrollPaneHtml, javax.swing.GroupLayout.DEFAULT_SIZE, 559, Short.MAX_VALUE))
|
||||
.addContainerGap())
|
||||
);
|
||||
}// </editor-fold>//GEN-END:initComponents
|
||||
@@ -260,6 +335,8 @@ public class TestingListDetails extends javax.swing.JPanel {
|
||||
this.txtTestSuite.setText(hDetails.get("testSuite").toString());
|
||||
this.txtTestName.setText(hDetails.get("testName").toString());
|
||||
this.txtTestResult.setText(hDetails.get("time").toString() + "\n" + hDetails.get("testResult").toString());
|
||||
this.txtTestResultSummary.setText( hDetails.get("testResult").toString());
|
||||
this.txtTestResultSummary.setCaretPosition(0);
|
||||
//help text
|
||||
showHelp(String.valueOf(hDetails.get("testPath")), String.valueOf(hDetails.get("testHelp")));
|
||||
//parameters table
|
||||
@@ -413,27 +490,72 @@ public class TestingListDetails extends javax.swing.JPanel {
|
||||
updateTestConfig(testPath, this.txtTestName.getText(), this.txtTestSuite.getText(),getParametersFromTable());
|
||||
}//GEN-LAST:event_jButtonOkActionPerformed
|
||||
|
||||
private void jButtonMoreResultActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonMoreResultActionPerformed
|
||||
if(this.jButtonMoreResult.getText()=="More"){
|
||||
this.jButtonMoreResult.setText("Less");
|
||||
this.jScrollPaneRes.setVisible(true);
|
||||
this.jLabel9.setVisible(true);
|
||||
this.txtDeviceName.setVisible(true);
|
||||
this.jLabel1.setVisible(true);
|
||||
this.jLabel2.setVisible(true);
|
||||
this.txtDeviceDescription.setVisible(true);
|
||||
}else{
|
||||
this.jScrollPaneRes.setVisible(false);
|
||||
this.jLabel9.setVisible(false);
|
||||
this.txtDeviceName.setVisible(false);
|
||||
this.jLabel1.setVisible(false);
|
||||
this.jLabel2.setVisible(false);
|
||||
this.txtDeviceDescription.setVisible(false);
|
||||
this.jButtonMoreResult.setText("More");
|
||||
}
|
||||
}//GEN-LAST:event_jButtonMoreResultActionPerformed
|
||||
|
||||
private void txtTestResultSummaryActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtTestResultSummaryActionPerformed
|
||||
// TODO add your handling code here:
|
||||
}//GEN-LAST:event_txtTestResultSummaryActionPerformed
|
||||
|
||||
private void jButtonMoreTestActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonMoreTestActionPerformed
|
||||
if(this.jButtonMoreTest.getText()=="More"){
|
||||
this.jButtonMoreTest.setText("Less");
|
||||
this.jScrollPaneTestDesc.setVisible(true);
|
||||
this.jLabel4.setVisible(true);
|
||||
this.txtTestSuite.setVisible(true);
|
||||
this.jLabel8.setVisible(true);
|
||||
}else{
|
||||
this.jScrollPaneTestDesc.setVisible(false);
|
||||
this.jLabel4.setVisible(false);
|
||||
this.txtTestSuite.setVisible(false);
|
||||
this.jLabel8.setVisible(false);
|
||||
this.jButtonMoreTest.setText("More");
|
||||
}
|
||||
}//GEN-LAST:event_jButtonMoreTestActionPerformed
|
||||
|
||||
|
||||
// Variables declaration - do not modify//GEN-BEGIN:variables
|
||||
private javax.swing.JButton jButtonMoreResult;
|
||||
private javax.swing.JButton jButtonMoreTest;
|
||||
private javax.swing.JButton jButtonOk;
|
||||
private javax.swing.JEditorPane jEditorPaneHelp;
|
||||
private javax.swing.JLabel jLabel1;
|
||||
private javax.swing.JLabel jLabel10;
|
||||
private javax.swing.JLabel jLabel2;
|
||||
private javax.swing.JLabel jLabel4;
|
||||
private javax.swing.JLabel jLabel5;
|
||||
private javax.swing.JLabel jLabel6;
|
||||
private javax.swing.JLabel jLabel7;
|
||||
private javax.swing.JLabel jLabel8;
|
||||
private javax.swing.JScrollPane jScrollPane1;
|
||||
private javax.swing.JScrollPane jScrollPane2;
|
||||
private javax.swing.JScrollPane jScrollPane3;
|
||||
private javax.swing.JScrollPane jScrollPane4;
|
||||
private javax.swing.JLabel jLabel9;
|
||||
private javax.swing.JScrollPane jScrollPaneHtml;
|
||||
private javax.swing.JScrollPane jScrollPaneParam;
|
||||
private javax.swing.JScrollPane jScrollPaneRes;
|
||||
private javax.swing.JScrollPane jScrollPaneTestDesc;
|
||||
private javax.swing.JTable jTableParams;
|
||||
private javax.swing.JTextField txtDeviceDescription;
|
||||
private javax.swing.JTextField txtDeviceName;
|
||||
private javax.swing.JTextArea txtTestDescription;
|
||||
private javax.swing.JTextField txtTestName;
|
||||
private javax.swing.JTextArea txtTestResult;
|
||||
private javax.swing.JTextField txtTestResultSummary;
|
||||
private javax.swing.JTextField txtTestSuite;
|
||||
// End of variables declaration//GEN-END:variables
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user