-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
149 lines (144 loc) · 5.52 KB
/
plugin.xml
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
id="org.phpsrc.eclipse.pti.tools.phpdepend.validator.phpToolPHPDependMarker"
name="PHP Depend"
point="org.eclipse.core.resources.markers">
<persistent value="true"/>
<attribute name="lineNumber"/>
<attribute name="charStart"/>
<attribute name="charEnd"/>
<attribute name="message"/>
<attribute name="priority"/>
<attribute name="severity"/>
<super type="org.eclipse.core.resources.problemmarker"/>
</extension>
<extension
point="org.eclipse.wst.validation.validatorV2"
id="PHPUnitAutomaticTestExecutionValidatorForPHP"
name="PHPDepend Metrics Validator (for PHP Files)">
<validator
class="org.phpsrc.eclipse.pti.tools.phpdepend.validator.PHPDependValidator"
build="false"
manual="false"
markerId="org.phpsrc.eclipse.pti.tools.phpdepend.validator.phpToolPHPDependMarker"
sourceid="org.eclipse.php.core.phpsource"
version="1">
<include>
<rules>
<contentType exactMatch="true" id="org.eclipse.php.core.phpsource"></contentType>
</rules>
</include>
<group id="org.eclipse.wst.sse.core.structuredModelGroup" />
</validator>
</extension>
<extension
point="org.eclipse.ui.preferencePages">
<page
category="org.phpsrc.eclipse.pti.ui.preferences.PHPToolsPreferencePage"
class="org.phpsrc.eclipse.pti.tools.phpdepend.ui.preferences.PHPDependPreferencePage"
id="org.phpsrc.eclipse.pti.tools.phpdepend.ui.preferences.PHPDependPreferencePage"
name="PHP Depend">
</page>
<page
category="org.phpsrc.eclipse.pti.tools.phpdepend.ui.preferences.PHPDependPreferencePage"
class="org.phpsrc.eclipse.pti.tools.phpdepend.ui.preferences.MetricPreferencePage"
id="org.phpsrc.eclipse.pti.tools.phpdepend.ui.preferences.MetricPreferencePage"
name="Metrics">
</page>
</extension>
<extension point="org.eclipse.ui.propertyPages">
<page
category="org.phpsrc.eclipse.pti.ui.propertyPages.PHPToolsPreferencePage"
class="org.phpsrc.eclipse.pti.tools.phpdepend.ui.preferences.PHPDependPreferencePage"
id="org.phpsrc.eclipse.pti.tools.phpdepend.ui.propertyPages.PHPDependPreferencePage"
name="PHP Depend">
<enabledWhen>
<adapt type="org.eclipse.core.resources.IProject">
</adapt>
</enabledWhen>
<filter name="nature" value="org.eclipse.php.core.PHPNature" />
</page>
<page
category="org.phpsrc.eclipse.pti.tools.phpdepend.ui.propertyPages.PHPDependPreferencePage"
class="org.phpsrc.eclipse.pti.tools.phpdepend.ui.preferences.MetricPreferencePage"
id="org.phpsrc.eclipse.pti.tools.phpdepend.ui.propertyPages.MetricPreferencePage"
name="Metrics">
<enabledWhen>
<adapt type="org.eclipse.core.resources.IProject">
</adapt>
</enabledWhen>
<filter name="nature" value="org.eclipse.php.core.PHPNature" />
</page>
</extension>
<extension
point="org.eclipse.ui.commands">
<category
id="org.phpsrc.eclipse.pti.tools.phpdepend.ui.commands"
name="PHP Depend">
</category>
<command
id="org.phpsrc.eclipse.pti.tools.phpdepend.ui.commands.validateresources"
categoryId="org.phpsrc.eclipse.pti.tools.phpcpd.ui.commands"
name="PHP Depend">
</command>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="popup:org.phpsrc.eclipse.pti.ui.menus.phptools?after=additions">
<command
commandId="org.phpsrc.eclipse.pti.tools.phpdepend.ui.commands.validateresources"
tooltip="Run PHP Depend"
icon="icons/full/obj16/php_depend.gif">
<visibleWhen>
<with variable="activeMenuSelection">
<iterate>
<adapt type="org.eclipse.core.resources.IResource" />
</iterate>
</with>
</visibleWhen>
</command>
</menuContribution>
</extension>
<extension
name="PHP Depend"
point="org.eclipse.ui.actionSets">
<actionSet
id="org.phpsrc.eclipse.pti.tools.phpdepend.ui.actionSet"
label="PHP Depend"
visible="false">
<action
id="org.phpsrc.eclipse.pti.tools.phpdepend.ui.action.ValidateResourcesAction"
definitionId="org.phpsrc.eclipse.pti.tools.phpdepend.ui.commands.validateresources"
label="PHP Depend"
icon="icons/full/obj16/php_depend.gif"
toolbarPath="org.phpsrc.eclipse.pti.tools.phpdepend.ui.actionSet"
tooltip="Run PHP Depend"
class="org.phpsrc.eclipse.pti.tools.phpdepend.ui.actions.ValidateResourcesAction"
style="pulldown"
enablesFor="*">
</action>
</actionSet>
</extension>
<extension point="org.eclipse.ui.views">
<view id="org.phpsrc.eclipse.pti.tools.phpdepend.ui.views.metricrunner"
name="PHP Depend"
category="org.eclipse.php.ui.views"
class="org.phpsrc.eclipse.pti.tools.phpdepend.ui.views.metricrunner.MetricRunnerViewPart"
icon="icons/full/obj16/php_depend.gif" />
<view id="org.phpsrc.eclipse.pti.tools.phpdepend.ui.views.metricrunnercharts"
name="PHP Depend Charts"
category="org.eclipse.php.ui.views"
class="org.phpsrc.eclipse.pti.tools.phpdepend.ui.views.metricrunner.MetricRunnerChartsViewPart"
icon="icons/full/obj16/php_depend.gif" />
</extension>
<extension point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension targetID="org.eclipse.php.perspective">
<actionSet id="org.phpsrc.eclipse.pti.tools.phpdepend.ui.actionSet" />
<viewShortcut id="org.phpsrc.eclipse.pti.tools.phpdepend.ui.views.metricrunner" />
<viewShortcut id="org.phpsrc.eclipse.pti.tools.phpdepend.ui.views.metricrunnercharts" />
</perspectiveExtension>
</extension>
</plugin>