git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4201 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Radim Kubacki
2006-02-06 15:04:47 +00:00
parent cea45ee1e7
commit 991779b3be
3 changed files with 23 additions and 13 deletions

View File

@ -30,10 +30,12 @@ LBL_PmdOptionsTip=Options for PMD execution
LBL_RulesPanel=Rules
LBL_RulesText=Use this button to configure set of rules
LBL_RulesBtn=Manage rules ...
LBL_RulesBtn=Manage &rules ...
LBL_RulesetsPanel=Rulesets
LBL_RulesetBtn=Manage rulesets ...
LBL_RulesetBtn=Ma&nage rulesets ...
LBL_RulesetsText=<html>Use this button to specify additional rulesets and customize their properties.
Rules_Editor_Title=Rule editor
Rulesets_Editor_Title=Rulesets editor
LBL_ScanInterval=Scan &interval\:
LBL_EnableScan=Enable &scan

View File

@ -2,7 +2,7 @@
<Form version="1.3" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
<AuxValues>
<AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
<AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
<AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
<AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
@ -40,7 +40,7 @@
<Component id="jPanelRules" min="-2" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="8" max="-2" attributes="0"/>
<Component id="jPanelRulesets" min="-2" max="-2" attributes="0"/>
<EmptySpace pref="14" max="32767" attributes="0"/>
<EmptySpace pref="18" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
@ -48,12 +48,19 @@
<SubComponents>
<Component class="javax.swing.JLabel" name="jLabel1">
<Properties>
<Property name="text" type="java.lang.String" value="Scan interval:"/>
<Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
<ComponentRef name="jTextField1"/>
</Property>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="pmd/config/ui/Bundle.properties" key="LBL_ScanInterval" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
</Property>
</Properties>
</Component>
<Component class="javax.swing.JCheckBox" name="jCheckBox1">
<Properties>
<Property name="text" type="java.lang.String" value="Enable scan"/>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="pmd/config/ui/Bundle.properties" key="LBL_EnableScan" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
</Property>
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
<Border info="org.netbeans.modules.form.compat2.border.EmptyBorderInfo">
<EmptyBorder bottom="0" left="0" right="0" top="0"/>

View File

@ -104,9 +104,10 @@ public class PmdOptionsComponent extends javax.swing.JPanel {
jLblRulesets = new javax.swing.JLabel();
jBtnRulesets = new javax.swing.JButton();
jLabel1.setText("Scan interval:");
jLabel1.setLabelFor(jTextField1);
org.openide.awt.Mnemonics.setLocalizedText(jLabel1, org.openide.util.NbBundle.getMessage(PmdOptionsComponent.class, "LBL_ScanInterval"));
jCheckBox1.setText("Enable scan");
org.openide.awt.Mnemonics.setLocalizedText(jCheckBox1, org.openide.util.NbBundle.getMessage(PmdOptionsComponent.class, "LBL_EnableScan"));
jCheckBox1.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
jCheckBox1.setMargin(new java.awt.Insets(0, 0, 0, 0));
jCheckBox1.addActionListener(new java.awt.event.ActionListener() {
@ -119,9 +120,9 @@ public class PmdOptionsComponent extends javax.swing.JPanel {
jTextField1.setText("0");
jPanelRules.setBorder(javax.swing.BorderFactory.createTitledBorder(org.openide.util.NbBundle.getMessage(PmdOptionsComponent.class, "LBL_RulesPanel")));
jLblRules.setText(org.openide.util.NbBundle.getMessage(PmdOptionsComponent.class, "LBL_RulesText"));
org.openide.awt.Mnemonics.setLocalizedText(jLblRules, org.openide.util.NbBundle.getMessage(PmdOptionsComponent.class, "LBL_RulesText"));
jBtnRules.setText(org.openide.util.NbBundle.getMessage(PmdOptionsComponent.class, "LBL_RulesBtn"));
org.openide.awt.Mnemonics.setLocalizedText(jBtnRules, org.openide.util.NbBundle.getMessage(PmdOptionsComponent.class, "LBL_RulesBtn"));
jBtnRules.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jBtnRulesActionPerformed(evt);
@ -149,9 +150,9 @@ public class PmdOptionsComponent extends javax.swing.JPanel {
);
jPanelRulesets.setBorder(javax.swing.BorderFactory.createTitledBorder(org.openide.util.NbBundle.getMessage(PmdOptionsComponent.class, "LBL_RulesetsPanel")));
jLblRulesets.setText("<html>Use this button to specify additional rulesets<br>and customize their properties.");
org.openide.awt.Mnemonics.setLocalizedText(jLblRulesets, org.openide.util.NbBundle.getMessage(PmdOptionsComponent.class, "LBL_RulesetsText"));
jBtnRulesets.setText(org.openide.util.NbBundle.getMessage(PmdOptionsComponent.class, "LBL_RulesetBtn"));
org.openide.awt.Mnemonics.setLocalizedText(jBtnRulesets, org.openide.util.NbBundle.getMessage(PmdOptionsComponent.class, "LBL_RulesetBtn"));
jBtnRulesets.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jBtnRulesetsActionPerformed(evt);
@ -206,7 +207,7 @@ public class PmdOptionsComponent extends javax.swing.JPanel {
.add(jPanelRules, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(8, 8, 8)
.add(jPanelRulesets, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addContainerGap(16, Short.MAX_VALUE))
);
}// </editor-fold>//GEN-END:initComponents