1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package com.henri.jbcs.gui;
22
23 import com.borland.primetime.help.HelpTopic;
24 import com.borland.primetime.properties.PropertyPage;
25 import java.awt.BorderLayout;
26 import com.henri.jbcs.CSPreference;
27
28 /***
29 * Checkstyle property page that will appear in JBuilder Preferences
30 * @author Henri Tremblay
31 * @version $Revision: 1.3 $ $Date: 2004/04/06 22:53:32 $
32 */
33 public class CSPropertyPage extends PropertyPage
34 {
35 private CSPropertyPagePanel panel;
36
37 public CSPropertyPage(CSPreference preference) {
38 super(new BorderLayout());
39 add(panel = new CSPropertyPagePanel(preference), BorderLayout.CENTER);
40 }
41
42 public void writeProperties() {
43 panel.writeProperties();
44 }
45
46 public void readProperties() {
47 panel.readProperties();
48 }
49
50 public HelpTopic getHelpTopic() {
51 return null;
52 }
53 }