diff --git a/pmd-jbuilder/PMDOpenTool.jpx b/pmd-jbuilder/PMDOpenTool.jpx index 7207a8c9dc..4e0dff3fb4 100644 --- a/pmd-jbuilder/PMDOpenTool.jpx +++ b/pmd-jbuilder/PMDOpenTool.jpx @@ -33,7 +33,7 @@ - + @@ -43,18 +43,23 @@ + - + - - + + + + + diff --git a/pmd-jbuilder/PMDOpenTool.jpx.local b/pmd-jbuilder/PMDOpenTool.jpx.local index 04bd1c66eb..cf3dbefa33 100644 --- a/pmd-jbuilder/PMDOpenTool.jpx.local +++ b/pmd-jbuilder/PMDOpenTool.jpx.local @@ -26,13 +26,12 @@ debug.NoTracingClasses.7[0]=17 com.borland.sql.*1 1 -1 debug.NoTracingClasses.8[0]=9 com.sun.*1 1 -1 debug.NoTracingClasses.9[0]=6 java.*1 1 -1 editor.search.file_filter_history.1[0]=*.java -history.files.active[0]=src/net/sourceforge/pmd/jbuilder/ActiveRuleSetPropertyGroup.java -history.files.open.1[0]=src/net/sourceforge/pmd/jbuilder/ActiveRuleSetPropertyGroup.java,F;34,2791 -history.files.open.2[0]=src/net/sourceforge/pmd/jbuilder/ActiveRuleSetPropertyPage.java,F;223,9747 +history.files.active[0]=src/net/sourceforge/pmd/jbuilder/PMDOpenTool.java +history.files.open.1[0]=src/net/sourceforge/pmd/jbuilder/ActiveRuleSetPropertyGroup.java,F;13,696 +history.files.open.2[0]=src/net/sourceforge/pmd/jbuilder/ActiveRuleSetPropertyPage.java,F;0,658 history.files.open.3[0]=src/net/sourceforge/pmd/jbuilder/ConfigureRuleSetPropertyGroup.java,F;0,0 -history.files.open.4[0]=src/net/sourceforge/pmd/jbuilder/ConfigureRuleSetPropertyPage.java,F;197,9351 -history.files.open.5[0]=src/net/sourceforge/pmd/jbuilder/PMDOpenTool.java,F;127,5111 -history.files.open.6[0]=src/net/sourceforge/pmd/jbuilder/RuleSetProperty.java,F;75,5391 +history.files.open.4[0]=src/net/sourceforge/pmd/jbuilder/ConfigureRuleSetPropertyPage.java,F;116,5613 +history.files.open.5[0]=src/net/sourceforge/pmd/jbuilder/PMDOpenTool.java,F;83,3230 import.optimize.packageprefixgroupings.1[0]=java import.optimize.packageprefixgroupings.2[0]= import.optimize.packageprefixgroupings.3[0]=javax diff --git a/pmd-jbuilder/lib/PMDOpenTool.jar b/pmd-jbuilder/lib/PMDOpenTool.jar index 32c30438fa..b9921b6645 100644 Binary files a/pmd-jbuilder/lib/PMDOpenTool.jar and b/pmd-jbuilder/lib/PMDOpenTool.jar differ diff --git a/pmd-jbuilder/src/net/sourceforge/pmd/jbuilder/ConfigureRuleSetPropertyPage.java b/pmd-jbuilder/src/net/sourceforge/pmd/jbuilder/ConfigureRuleSetPropertyPage.java index 10687c2afa..e55d0a848e 100644 --- a/pmd-jbuilder/src/net/sourceforge/pmd/jbuilder/ConfigureRuleSetPropertyPage.java +++ b/pmd-jbuilder/src/net/sourceforge/pmd/jbuilder/ConfigureRuleSetPropertyPage.java @@ -45,6 +45,9 @@ public class ConfigureRuleSetPropertyPage extends PropertyPage { } + /** + * This methiod is called by JBuilder + */ public void writeProperties() { /** * Go through all the ruleSetProperties objects and revalidate them to persist @@ -55,10 +58,18 @@ public class ConfigureRuleSetPropertyPage extends PropertyPage { rsp.revalidateRules(); } } + + /** + * This methiod is called by JBuilder + */ public HelpTopic getHelpTopic() { /**@todo Implement this com.borland.primetime.properties.PropertyPage abstract method*/ throw new java.lang.UnsupportedOperationException("Method getHelpTopic() not yet implemented."); } + + /** + * This methiod is called by JBuilder + */ public void readProperties() { /** * Go through all the ruleSetProperties objects and reset them to the @@ -66,12 +77,15 @@ public class ConfigureRuleSetPropertyPage extends PropertyPage { */ for (Iterator iter = ActiveRuleSetPropertyGroup.currentInstance.ruleSets.values().iterator(); iter.hasNext(); ) { RuleSetProperty rsp = (RuleSetProperty)iter.next(); - rsp.revalidateRules(); rsp.resetRuleSelectionState(); } this.listRules.updateUI(); } + /** + * JBuilder-constructed initialization + * @throws Exception + */ private void jbInit() throws Exception { this.setLayout(borderLayout1); spRuleSets.setBorder(new TitledBorder(BorderFactory.createEtchedBorder(Color.white,new Color(165, 163, 151)),"Rule Sets")); @@ -86,6 +100,9 @@ public class ConfigureRuleSetPropertyPage extends PropertyPage { splitPaneConfRuleSets.setDividerLocation(200); } + /** + * additional intiialzation + */ private void init2() { listRules.setCellRenderer(new CheckCellRenderer()); CheckListener cl = new CheckListener(listRules);