*** empty log message ***

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@481 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
David Craine
2002-07-23 18:44:20 +00:00
parent bc753092d7
commit bd89dc0035
4 changed files with 32 additions and 11 deletions

View File

@ -33,7 +33,7 @@
<property category="sys" name="InstanceVisibility" value="2"/>
<property category="sys" name="JDK" value="java 1.3.1-b24"/>
<property category="sys" name="LastTag" value="0"/>
<property category="sys" name="Libraries" value="Open Tools SDK;Ant;Xerces;PMD-0.6"/>
<property category="sys" name="Libraries" value="Open Tools SDK;Ant;Xerces;PMD-0.5"/>
<property category="sys" name="MakeStable" value="0"/>
<property category="sys" name="OutPath" value="classes"/>
<property category="sys" name="SourcePath" value="src;test"/>
@ -43,18 +43,23 @@
<property category="sys" name="Version" value="1.0"/>
<property category="sys" name="VersionLabel" value="@version"/>
<property category="sys" name="WorkingDirectory" value="."/>
<property category="sys"
name="uidesign.size.net.sourceforge.pmd.jbuilder.ConfigureRuleSetPropertyPage" value="545,418"/>
<node name="Copy to JBuilder OpenTools Dir" type="ExternalTask">
<property category="external" name="dependencies" value="archive"/>
<property category="external" name="executable" value="&quot;C:\Documents and Settings\David Craine\My Documents\InfoEther Projects\pmd\pmd-jbuilder\copyfile.bat&quot;"/>
<property category="external" name="executable" value="&quot;C:\Documents and Settings\David Craine\My Documents\InfoEther-SF\pmd\pmd-jbuilder\copyfile.bat&quot;"/>
<property category="external" name="params" value="c:\JBuilder7\lib\ext\"/>
<property category="external" name="phase" value="package"/>
</node>
<node name="PMDOpenTool" type="Archive">
<property category="archiving" name="archiverClass" value="com.borland.jbuilder.wizard.archive.OpenToolArchiver"/>
<property category="archiving" name="extraDeployRoots.1" value="C:pmdopentool.PMDOpenTool"/>
<property category="archiving" name="overrideManifestPath" value="classes.opentools"/>
<property category="archiving" name="targetPath" value="lib/PMDOpenTool.jar"/>
</node>
<file path="classes.opentools"/>
<file path="copyfile.bat"/>
<file path="copyfile.bat">
<property category="lh.cmdline" name="command" value="C:\Documents and Settings\David Craine\My Documents\InfoEther-SF\pmd\pmd-jbuilder\copyfile.bat"/>
</file>
<file path="src/net/sourceforge/pmd/jbuilder/PMDOpenTool.java"/>
<file path="Things to do.txt"/>
</project>

View File

@ -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]=<blank line>
import.optimize.packageprefixgroupings.3[0]=javax

Binary file not shown.

View File

@ -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);