[Jsmooth-cvs] jsmooth/src/net/charabia/jsmoothgen/application/gui SkeletonChooser.form,1.3,1.4 Skele
Status: Beta
Brought to you by:
reyes
From: <re...@us...> - 2004-03-04 23:38:36
|
Update of /cvsroot/jsmooth/jsmooth/src/net/charabia/jsmoothgen/application/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12150/src/net/charabia/jsmoothgen/application/gui Modified Files: SkeletonChooser.form SkeletonChooser.java Log Message: disabled debug mode selection (now done at runtime) Index: SkeletonChooser.form =================================================================== RCS file: /cvsroot/jsmooth/jsmooth/src/net/charabia/jsmoothgen/application/gui/SkeletonChooser.form,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** SkeletonChooser.form 21 Sep 2003 14:06:29 -0000 1.3 --- SkeletonChooser.form 4 Mar 2004 23:17:02 -0000 1.4 *************** *** 52,68 **** </SubComponents> </Container> - <Component class="javax.swing.JCheckBox" name="m_cbDebug"> - <Properties> - <Property name="text" type="java.lang.String" value="Display Debug Wrapper"/> - </Properties> - <Events> - <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="cbDebugActionPerformed"/> - </Events> - <Constraints> - <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> - <GridBagConstraints gridX="-1" gridY="-1" gridWidth="0" gridHeight="1" fill="1" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/> - </Constraint> - </Constraints> - </Component> </SubComponents> </Form> --- 52,55 ---- Index: SkeletonChooser.java =================================================================== RCS file: /cvsroot/jsmooth/jsmooth/src/net/charabia/jsmoothgen/application/gui/SkeletonChooser.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** SkeletonChooser.java 21 Sep 2003 14:06:29 -0000 1.7 --- SkeletonChooser.java 4 Mar 2004 23:17:02 -0000 1.8 *************** *** 53,60 **** Iterator i = null; SkeletonBean skel = list.getSkeleton(m_model.getSkeletonName()); ! if (((skel != null) && (skel.isDebug())) || (m_cbDebug.isSelected())) ! i = m_list.getIteratorName(); ! else ! i = m_list.getIteratorNoDebugName(); for (; i.hasNext(); ) --- 53,60 ---- Iterator i = null; SkeletonBean skel = list.getSkeleton(m_model.getSkeletonName()); ! // if (((skel != null) && (skel.isDebug())) || (m_cbDebug.isSelected())) ! // i = m_list.getIteratorName(); ! // else ! i = m_list.getIteratorNoDebugName(); for (; i.hasNext(); ) *************** *** 85,89 **** jScrollPane2 = new javax.swing.JScrollPane(); m_skeletonDescription = new javax.swing.JTextPane(); - m_cbDebug = new javax.swing.JCheckBox(); setLayout(new java.awt.GridBagLayout()); --- 85,88 ---- *************** *** 131,159 **** add(jScrollPane2, gridBagConstraints); - m_cbDebug.setText("Display Debug Wrapper"); - m_cbDebug.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(java.awt.event.ActionEvent evt) - { - cbDebugActionPerformed(evt); - } - }); - - gridBagConstraints = new java.awt.GridBagConstraints(); - gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; - gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; - add(m_cbDebug, gridBagConstraints); - }//GEN-END:initComponents - private void cbDebugActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_cbDebugActionPerformed - {//GEN-HEADEREND:event_cbDebugActionPerformed - // Add your handling code here: - if (m_list != null) - { - setSkeletonList(m_list); - } - }//GEN-LAST:event_cbDebugActionPerformed - private void comboNamesActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_comboNamesActionPerformed {//GEN-HEADEREND:event_comboNamesActionPerformed --- 130,135 ---- *************** *** 189,193 **** private javax.swing.JLabel jLabel2; private javax.swing.JScrollPane jScrollPane2; - private javax.swing.JCheckBox m_cbDebug; private javax.swing.JComboBox m_comboNames; private javax.swing.JTextPane m_skeletonDescription; --- 165,168 ---- |