1 package info.mikethomas.fahview.v6project.properties;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 import javax.swing.JComponent;
25 import javax.swing.JPanel;
26 import org.netbeans.spi.project.ui.support.ProjectCustomizer;
27 import org.openide.util.Lookup;
28 import org.openide.util.NbBundle;
29
30
31
32
33
34
35
36 public class GeneralClientProperties
37 implements ProjectCustomizer.CompositeCategoryProvider {
38
39
40 private static final String GENERAL = "General";
41
42
43
44
45
46
47 @ProjectCustomizer.CompositeCategoryProvider.Registration(
48 projectType = "info-mikethomas-fahview", position = 10)
49 public static GeneralClientProperties createGeneral() {
50 return new GeneralClientProperties();
51 }
52
53
54 @NbBundle.Messages("LBL_Config_General=General")
55 @Override
56 public ProjectCustomizer.Category createCategory(Lookup context) {
57 return ProjectCustomizer.Category.create(
58 GENERAL,
59 Bundle.LBL_Config_General(),
60 null);
61 }
62
63
64 @Override
65 public JComponent createComponent(ProjectCustomizer.Category category, Lookup context) {
66 return new JPanel();
67 }
68 }