Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
blob: 8f278e0b6d4793c400311166ec6ea38caa94373e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin
   id="org.eclipse.jst.validation.sample"
   name="Properties Validator"
   version="1.0.0"
   class="org.eclipse.jst.validation.sample.workbenchimpl.PropertiesValidatorPlugin">

   <runtime>
      <library name="runtime/propertiesValidator.jar">
         <export name="*"/>
      </library>
   </runtime>
   <requires>
      <import plugin="org.eclipse.core.resources"/>
      <import plugin="org.eclipse.jdt.core"/>
      <import plugin="org.eclipse.wst.validation"/>
      <import plugin="org.eclipse.help"/>
      <import plugin="org.eclipse.wst.common.frameworks"/>
      <import plugin="org.eclipse.core.runtime"/>
   </requires>


<!--=======================================-->
<!-- Properties Validator Contributions    -->
<!--=======================================-->
   <extension
         id="PropertiesValidator"
         name="Properties Validator"
         point="org.eclipse.wst.validation.validator">
      <validator>
         <projectNature
               id="org.eclipse.jdt.core.javanature">
         </projectNature>
         <filter
               objectClass="org.eclipse.core.resources.IFile"
               nameFilter="*.properties"
               action="add, change">
         </filter>
         <run
               enabled="false"
               async="false"
               class="org.eclipse.jst.validation.sample.PropertiesValidator">
         </run>
         <helper
               class="org.eclipse.jst.validation.sample.workbenchimpl.PropertiesHelper">
         </helper>
      </validator>
   </extension>
<!--=======================================-->
<!-- Validation Documentation              -->
<!--=======================================-->
<!--                                       -->
<!-- Validator Developer's Guide           -->
<!--                                       -->
<!--
   <extension
         point="org.eclipse.help.toc">
      <toc
            file="doc/developerGuide/toc.xml"
            primary="true">
      </toc>
   </extension>
-->
<!--                                       -->
<!-- Validation Guide                      -->
<!--                                       -->
<!--
   <extension
         point="org.eclipse.help.toc">
      <toc
            file="doc/guide/toc.xml"
            primary="true">
      </toc>
   </extension>
-->

</plugin>

Back to the top