forked from EclipseDSM/Eclipse-DSM-viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
149 lines (134 loc) · 4.72 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
point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
targetID="org.eclipse.jdt.ui.JavaPerspective">
<view
ratio="0.5"
relative="org.eclipse.ui.views.TaskList"
relationship="right"
id="com.dsmviewer.views.DSMView">
</view>
</perspectiveExtension>
</extension>
<extension
point="org.eclipse.help.contexts">
<contexts
file="contexts.xml">
</contexts>
</extension>
<extension
point="org.eclipse.ui.views">
<category
name="DSM"
id="DSM-viewer">
</category>
<view
name="DSM View"
icon="icons/sample.gif"
category="DSM-viewer"
class="com.dsmviewer.ui.views.DSMView"
id="com.dsmviewer.views.DSMView">
</view>
</extension>
<extension
point="org.eclipse.ui.viewActions">
<viewContribution
id="Eclipse-DSM-viewer.DSMView"
targetID="com.dsmviewer.views.DSMView">
</viewContribution>
</extension>
<extension
point="org.eclipse.ui.preferencePages">
<page
class="com.dsmviewer.ui.preferences.PreferencePage"
id="com.dsmviewer.ui.preferences.PreferencePage"
name="DSM-Viewer Preferences">
</page>
</extension>
<!-- Popupmenu action to check selected projects on demand in packages scope -->
<extension point="org.eclipse.ui.popupMenus">
<objectContribution objectClass="org.eclipse.core.resources.IResource"
adaptable="true"
id="Run DSM on project">
<visibility>
<objectClass name="org.eclipse.core.resources.IProject"/>
</visibility>
<menu
id="DSM Viewer menu"
label="DSM Viewer menu"
path="additions">
<separator name="xbatch"/>
</menu>
<action
label="Show packages DS-Matrix"
class="com.dsmviewer.dtangler.DtanglerRunner"
enablesFor="+"
menubarPath="additions"
tooltip="packages"
id="Run DSM on resource"/>
</objectContribution>
<!-- Popupmenu action to check selected projects on demand in classes scope -->
<objectContribution objectClass="org.eclipse.core.resources.IResource"
adaptable="true"
id="Run DSM on project">
<visibility>
<objectClass name="org.eclipse.core.resources.IProject"/>
</visibility>
<menu
id="DSM Viewer menu"
label="DSM Viewer menu"
path="additions">
<separator name="xbatch"/>
</menu>
<action
label="Show classes DS-Matrix"
class="com.dsmviewer.dtangler.DtanglerRunner"
enablesFor="+"
menubarPath="additions"
tooltip="classes"
id="Run DSM on resource"/>
</objectContribution>
<!-- Popupmenu action to check selected jars on demand -->
<objectContribution objectClass="org.eclipse.core.resources.IFile" adaptable="true" id="1">
<visibility>
<or>
<objectClass name="org.eclipse.jdt.core.ICompilationUnit"/>
<objectClass name="org.eclipse.jdt.core.IType"/>
<and>
<objectClass name="org.eclipse.core.resources.IFile"/>
<objectState name="extension" value="jar"/>
</and>
</or>
</visibility>
<action label="Show library classes DS matrix" class="com.dsmviewer.dtangler.DtanglerRunner"
enablesFor="1"
menubarPath="additions"
tooltip="classes"
id="jarFile DtanglerRunner">
<selection name="*.jar" class="org.eclipse.core.resources.IFile"/>
</action>
</objectContribution>
<objectContribution objectClass="org.eclipse.core.resources.IFile" adaptable="true" id="2">
<visibility>
<or>
<objectClass name="org.eclipse.jdt.core.ICompilationUnit"/>
<objectClass name="org.eclipse.jdt.core.IType"/>
<and>
<objectClass name="org.eclipse.core.resources.IFile"/>
<objectState name="extension" value="jar"/>
</and>
</or>
</visibility>
<action label="Show library packages DS matrix" class="com.dsmviewer.dtangler.DtanglerRunner"
enablesFor="1"
menubarPath="additions"
tooltip="packages"
id="jarFile DtanglerRunner">
<selection name="*.jar" class="org.eclipse.core.resources.IFile"/>
</action>
</objectContribution>
</extension>
</plugin>