118777: Fix truncated text. nodefactoryImpl_root
authorgmpatil@netbeans.org
Tue, 16 Oct 2007 19:40:55 +0000
changeset 1329bf4dbf644a49
parent 1328 05c639609b81
child 1330 8df89fecb008
118777: Fix truncated text.
compapp.projects.jbi/src/org/netbeans/modules/compapp/projects/jbi/jeese/ui/Bundle.properties
compapp.projects.jbi/src/org/netbeans/modules/compapp/projects/jbi/jeese/ui/DeploymentOptionPanel.form
compapp.projects.jbi/src/org/netbeans/modules/compapp/projects/jbi/jeese/ui/DeploymentOptionPanel.java
     1.1 --- a/compapp.projects.jbi/src/org/netbeans/modules/compapp/projects/jbi/jeese/ui/Bundle.properties	Tue Oct 16 16:12:37 2007 +0000
     1.2 +++ b/compapp.projects.jbi/src/org/netbeans/modules/compapp/projects/jbi/jeese/ui/Bundle.properties	Tue Oct 16 19:40:55 2007 +0000
     1.3 @@ -41,6 +41,8 @@
     1.4  
     1.5  LBL_moduleInfo=Module information
     1.6  LBL_moduleName=Module name
     1.7 -LBL_depThruCA=Deploy with Composite Application
     1.8 +LBL_depThruCA=&Deploy with Composite Application
     1.9  LBL_jeeModules=Java EE Modules
    1.10 -LBL_addJeeModule=Add JavaEE Modules...
    1.11 \ No newline at end of file
    1.12 +LBL_addJeeModule=Add JavaEE Modules...
    1.13 +#
    1.14 +TT_depThruCA=If selected deploys the Java EE module along with Service assembly else only end-points are enabled, Java EE module must be installed separatly before SA.
    1.15 \ No newline at end of file
     2.1 --- a/compapp.projects.jbi/src/org/netbeans/modules/compapp/projects/jbi/jeese/ui/DeploymentOptionPanel.form	Tue Oct 16 16:12:37 2007 +0000
     2.2 +++ b/compapp.projects.jbi/src/org/netbeans/modules/compapp/projects/jbi/jeese/ui/DeploymentOptionPanel.form	Tue Oct 16 19:40:55 2007 +0000
     2.3 @@ -1,8 +1,10 @@
     2.4  <?xml version="1.0" encoding="UTF-8" ?>
     2.5  
     2.6 -<Form version="1.3" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
     2.7 +<Form version="1.3" maxVersion="1.3" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
     2.8    <AuxValues>
     2.9 +    <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
    2.10      <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
    2.11 +    <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
    2.12      <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="2"/>
    2.13      <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
    2.14      <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
    2.15 @@ -15,9 +17,7 @@
    2.16            <Group type="102" alignment="0" attributes="0">
    2.17                <EmptySpace min="-2" pref="20" max="-2" attributes="0"/>
    2.18                <Component id="jCheckBox1" min="-2" max="-2" attributes="0"/>
    2.19 -              <EmptySpace max="-2" attributes="0"/>
    2.20 -              <Component id="jLabel1" min="-2" pref="194" max="-2" attributes="0"/>
    2.21 -              <EmptySpace pref="71" max="32767" attributes="0"/>
    2.22 +              <EmptySpace pref="43" max="32767" attributes="0"/>
    2.23            </Group>
    2.24        </Group>
    2.25      </DimensionLayout>
    2.26 @@ -25,11 +25,8 @@
    2.27        <Group type="103" groupAlignment="0" attributes="0">
    2.28            <Group type="102" alignment="1" attributes="0">
    2.29                <EmptySpace min="-2" pref="20" max="-2" attributes="0"/>
    2.30 -              <Group type="103" groupAlignment="3" attributes="0">
    2.31 -                  <Component id="jCheckBox1" alignment="3" min="-2" max="-2" attributes="0"/>
    2.32 -                  <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>
    2.33 -              </Group>
    2.34 -              <EmptySpace max="32767" attributes="0"/>
    2.35 +              <Component id="jCheckBox1" min="-2" max="-2" attributes="0"/>
    2.36 +              <EmptySpace pref="12" max="32767" attributes="0"/>
    2.37            </Group>
    2.38        </Group>
    2.39      </DimensionLayout>
    2.40 @@ -50,10 +47,5 @@
    2.41          <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jCheckBox1ActionPerformed"/>
    2.42        </Events>
    2.43      </Component>
    2.44 -    <Component class="javax.swing.JLabel" name="jLabel1">
    2.45 -      <Properties>
    2.46 -        <Property name="text" type="java.lang.String" value=" Deploy with Composite Application"/>
    2.47 -      </Properties>
    2.48 -    </Component>
    2.49    </SubComponents>
    2.50  </Form>
     3.1 --- a/compapp.projects.jbi/src/org/netbeans/modules/compapp/projects/jbi/jeese/ui/DeploymentOptionPanel.java	Tue Oct 16 16:12:37 2007 +0000
     3.2 +++ b/compapp.projects.jbi/src/org/netbeans/modules/compapp/projects/jbi/jeese/ui/DeploymentOptionPanel.java	Tue Oct 16 19:40:55 2007 +0000
     3.3 @@ -47,6 +47,9 @@
     3.4  
     3.5  package org.netbeans.modules.compapp.projects.jbi.jeese.ui;
     3.6  
     3.7 +import org.openide.awt.Mnemonics;
     3.8 +import org.openide.util.NbBundle;
     3.9 +
    3.10  /**
    3.11   *
    3.12   * @author  gpatil
    3.13 @@ -58,12 +61,9 @@
    3.14       */
    3.15      public DeploymentOptionPanel() {
    3.16          initComponents();
    3.17 +        custInit();
    3.18      }
    3.19 -    
    3.20 -    public void setLabel(String lbl) {
    3.21 -        this.jLabel1.setText(lbl);
    3.22 -    }
    3.23 -    
    3.24 +        
    3.25      public void isDeployThruCA(boolean dep){
    3.26          this.jCheckBox1.setSelected(dep);
    3.27      }
    3.28 @@ -72,15 +72,22 @@
    3.29          return this.jCheckBox1.isSelected();
    3.30      }
    3.31  
    3.32 +    private void custInit(){
    3.33 +        Mnemonics.setLocalizedText(jCheckBox1, NbBundle.getMessage(
    3.34 +                DeploymentOptionPanel.class, "LBL_depThruCA"));//NOI18N
    3.35 +        jCheckBox1.setToolTipText(NbBundle.getMessage(
    3.36 +                DeploymentOptionPanel.class,"TT_depThruCA"));//NOI18N
    3.37 +    }
    3.38 +    
    3.39      /** This method is called from within the constructor to
    3.40       * initialize the form.
    3.41       * WARNING: Do NOT modify this code. The content of this method is
    3.42       * always regenerated by the Form Editor.
    3.43       */
    3.44 -    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
    3.45 +    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    3.46      private void initComponents() {
    3.47 +
    3.48          jCheckBox1 = new javax.swing.JCheckBox();
    3.49 -        jLabel1 = new javax.swing.JLabel();
    3.50  
    3.51          jCheckBox1.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
    3.52          jCheckBox1.setMargin(new java.awt.Insets(0, 0, 0, 0));
    3.53 @@ -90,8 +97,6 @@
    3.54              }
    3.55          });
    3.56  
    3.57 -        jLabel1.setText(" Deploy with Composite Application");
    3.58 -
    3.59          org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
    3.60          this.setLayout(layout);
    3.61          layout.setHorizontalGroup(
    3.62 @@ -99,18 +104,14 @@
    3.63              .add(layout.createSequentialGroup()
    3.64                  .add(20, 20, 20)
    3.65                  .add(jCheckBox1)
    3.66 -                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
    3.67 -                .add(jLabel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 194, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
    3.68 -                .addContainerGap(71, Short.MAX_VALUE))
    3.69 +                .addContainerGap(43, Short.MAX_VALUE))
    3.70          );
    3.71          layout.setVerticalGroup(
    3.72              layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    3.73              .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
    3.74                  .add(20, 20, 20)
    3.75 -                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
    3.76 -                    .add(jCheckBox1)
    3.77 -                    .add(jLabel1))
    3.78 -                .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
    3.79 +                .add(jCheckBox1)
    3.80 +                .addContainerGap(12, Short.MAX_VALUE))
    3.81          );
    3.82      }// </editor-fold>//GEN-END:initComponents
    3.83  
    3.84 @@ -121,7 +122,6 @@
    3.85      
    3.86      // Variables declaration - do not modify//GEN-BEGIN:variables
    3.87      private javax.swing.JCheckBox jCheckBox1;
    3.88 -    private javax.swing.JLabel jLabel1;
    3.89      // End of variables declaration//GEN-END:variables
    3.90      
    3.91  }