-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplugin.xml
More file actions
126 lines (115 loc) · 4.5 KB
/
plugin.xml
File metadata and controls
126 lines (115 loc) · 4.5 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension point="org.eclipse.ui.views">
<category
name="Refactor"
id="RefACo">
</category>
<view
category="RefACo"
class="refaco.views.CodeSmellTableView"
icon="icons/main.png"
id="refaco.views.CodeSmellTableView"
name="Anti-patterns">
</view>
<view
category="RefACo"
class="refaco.views.RefactoringListTableView"
icon="icons/main.png"
id="refaco.views.RefactoringListTableView"
name="Refactoring Sequence">
</view>
</extension>
<extension point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
targetID="org.eclipse.jdt.ui.JavaPerspective">
<view
id="refaco.views.TableView"
ratio="0.5"
relationship="right"
relative="org.eclipse.ui.views.ProblemView">
</view>
</perspectiveExtension>
</extension>
<extension point="org.eclipse.help.contexts">
<contexts
file="contexts.xml">
</contexts>
</extension>
<extension point="org.eclipse.ui.commands">
<command name="Analize"
description="Detect anti-patterns in the selected project "
id="refaco.command.analize"/>
<command name="ShowRefactoringOpps"
description="Show Refactoring opportunities list"
id="refaco.command.showRefactoringOpps"/>
<command name="ApplyRefactoringList"
description="Apply the sequence of refactorings selected"
id="refaco.command.applyRefactoring"/>
<command name="SelectAll"
description="Select / Deselect all the refactoring candidates"
id="refaco.command.selectAll"/>
</extension>
<extension point="org.eclipse.ui.handlers">
<hanlder class="refaco.handlers.CodeSmellHandler"
commandId="refaco.command.analize"/>
<hanlder class="refaco.handlers.RefactoringOppsHandler"
commandId="refaco.command.showRefactoringOpps"/>
<hanlder class="refaco.handlers.ApplyRefactoringHandler"
commandId="refaco.command.applyRefactoring"/>
<hanlder class="refaco.handlers.SelectionHandler"
commandId="refaco.command.selectAll"/>
</extension>
<extension point="org.eclipse.ui.menus">
<menuContribution locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
<toolbar id="refaco.toolbars.refacoToolbar">
<command
commandId="refaco.command.analize"
icon="icons/analyze.png"
tooltip="Detect Anti-patterns"
id="refaco.toolbars.Analize">
</command>
</toolbar>
</menuContribution>
<menuContribution locationURI="toolbar:refaco.views.CodeSmellTableView?after=additions">
<command
commandId="refaco.command.showRefactoringOpps"
icon="icons/encrage.ico"
tooltip="Show Refactoring Sequence"
id="refaco.toolbars.ShowRefactoringList">
</command>
</menuContribution>
<menuContribution locationURI="toolbar:refaco.views.RefactoringListTableView?after=additions">
<command
commandId="refaco.command.applyRefactoring"
icon="icons/apply.png"
tooltip="Apply refactoring sequence"
id="refaco.toolbars.ApplyRefactoring">
</command>
</menuContribution>
<menuContribution locationURI="toolbar:refaco.views.RefactoringListTableView?after=additions">
<command
commandId="refaco.command.selectAll"
icon="icons/selectall.png"
tooltip="Select / Deselect all the implemented refactorings"
id="refaco.toolbars.SelectAllRefactoring">
</command>
</menuContribution>
<menuContribution locationURI="popup:org.eclipse.ui.navigator.ProjectExplorer#PopupMenu?after=additions">
<menu
id="contextmenuRefaco"
label="RefACo">
</menu>
</menuContribution>
<menuContribution
locationURI="popup:contextmenuRefaco?after=additions">
<command
commandId="refaco.command.analize"
icon="icons/analyze.png"
label="Detect Anti-patternss"
style="push">
</command>
</menuContribution>
</extension>
</plugin>