forked from phoedos/pmd
Updated configure UI
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@460 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -25,12 +25,9 @@ debug.NoTracingClasses.6[0]=30 com.borland.jbuilder.runtime.*1 1 -1
|
||||
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
|
||||
history.files.active[0]=src/net/sourceforge/pmd/jbuilder/ConfigureRuleSetPropertyGroup.java
|
||||
history.files.open.1[0]=src/net/sourceforge/pmd/jbuilder/ActiveRuleSetPropertyGroup.java,F;18,535
|
||||
history.files.open.2[0]=src/net/sourceforge/pmd/jbuilder/ActiveRuleSetPropertyPage.java,F;0,0
|
||||
history.files.open.3[0]=src/net/sourceforge/pmd/jbuilder/ConfigureRuleSetPropertyGroup.java,F;0,589
|
||||
history.files.open.4[0]=src/net/sourceforge/pmd/jbuilder/ConfigureRuleSetPropertyPage.java,F;0,0
|
||||
history.files.open.5[0]=src/net/sourceforge/pmd/jbuilder/PMDOpenTool.java,F;24,1775
|
||||
history.files.active[0]=src/net/sourceforge/pmd/jbuilder/ConfigureRuleSetPropertyPage.java
|
||||
history.files.open.1[0]=src/net/sourceforge/pmd/jbuilder/ActiveRuleSetPropertyPage.java,F;0,0
|
||||
history.files.open.2[0]=src/net/sourceforge/pmd/jbuilder/ConfigureRuleSetPropertyPage.java,F;3,0
|
||||
import.optimize.packageprefixgroupings.1[0]=java
|
||||
import.optimize.packageprefixgroupings.2[0]=<blank line>
|
||||
import.optimize.packageprefixgroupings.3[0]=javax
|
||||
@ -48,8 +45,6 @@ team.CvsRepository[0]=/cvsroot/pmd
|
||||
team.CvsServer[0]=cvs.pmd.sourceforge.net
|
||||
team.CvsShowConsole[0]=0
|
||||
team.CvsUsername[0]=dcraine
|
||||
team.deleteFromRepo_0[0]=src/net/sourceforge/pmd/jbuilder/RuleSetPropertyGroup.java
|
||||
team.deleteFromRepo_1[0]=src/net/sourceforge/pmd/jbuilder/RuleSetPropertyPage.java
|
||||
team.prunedDirectories[0]=bak/pmdopentool;classes/net
|
||||
team.prunedDirectories[0]=bak/pmdopentool;classes
|
||||
wizard.package.package_history.1[0]=net.sourceforge.pmd.jbuilder
|
||||
wizard.package.package_history.2[0]=pmdopentool
|
||||
|
Binary file not shown.
@ -2,6 +2,10 @@ package net.sourceforge.pmd.jbuilder;
|
||||
|
||||
import com.borland.primetime.properties.*;
|
||||
import com.borland.primetime.help.HelpTopic;
|
||||
import java.awt.*;
|
||||
import javax.swing.*;
|
||||
import javax.swing.border.Border;
|
||||
import javax.swing.border.TitledBorder;
|
||||
|
||||
|
||||
/**
|
||||
@ -14,8 +18,20 @@ import com.borland.primetime.help.HelpTopic;
|
||||
*/
|
||||
|
||||
public class ConfigureRuleSetPropertyPage extends PropertyPage {
|
||||
private BorderLayout borderLayout1 = new BorderLayout();
|
||||
private JSplitPane splitPaneConfRuleSets = new JSplitPane();
|
||||
private JScrollPane spRuleSets = new JScrollPane();
|
||||
private JScrollPane spRules = new JScrollPane();
|
||||
private JList listRuleSets = new JList();
|
||||
private JList listRules = new JList();
|
||||
|
||||
public ConfigureRuleSetPropertyPage() {
|
||||
try {
|
||||
jbInit();
|
||||
}
|
||||
catch(Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
public void writeProperties() {
|
||||
/**@todo Implement this com.borland.primetime.properties.PropertyPage abstract method*/
|
||||
@ -27,4 +43,15 @@ public class ConfigureRuleSetPropertyPage extends PropertyPage {
|
||||
public void readProperties() {
|
||||
/**@todo Implement this com.borland.primetime.properties.PropertyPage abstract method*/
|
||||
}
|
||||
private void jbInit() throws Exception {
|
||||
this.setLayout(borderLayout1);
|
||||
spRuleSets.setBorder(new TitledBorder(BorderFactory.createEtchedBorder(Color.white,new Color(165, 163, 151)),"Rule Sets"));
|
||||
spRules.setBorder(new TitledBorder(BorderFactory.createEtchedBorder(Color.white,new Color(165, 163, 151)),"Rules"));
|
||||
this.add(splitPaneConfRuleSets, BorderLayout.CENTER);
|
||||
splitPaneConfRuleSets.add(spRuleSets, JSplitPane.TOP);
|
||||
spRuleSets.getViewport().add(listRuleSets, null);
|
||||
splitPaneConfRuleSets.add(spRules, JSplitPane.BOTTOM);
|
||||
spRules.getViewport().add(listRules, null);
|
||||
splitPaneConfRuleSets.setDividerLocation(200);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user