blob: 533d193db0dbc3081803383506a292d17d213d2f (
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
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
|
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
<extension
point="org.eclipse.ui.handlers">
<handler
class="org.eclipse.papyrus.java.reverse.ui.ReverseCodeHandler"
commandId="org.eclipse.papyrus.java.reverse.ui.reverseCodeCommand">
</handler>
<handler
class="org.eclipse.papyrus.java.reverse.ui.handlers.CreateAssociationFromPropertyHandler"
commandId="org.eclipse.papyrus.java.reverse.ui.commands.CreateAssociationFromPropertyCommand">
</handler>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="toolbar:org.eclipse.ui.main.toolbar">
<toolbar
id="org.eclipse.papyrus.java.ui.toolbar">
<command
commandId="org.eclipse.papyrus.java.reverse.ui.reverseCodeCommand"
icon="icons/javaReverse.gif"
label="Java Reverse"
style="push"
tooltip="Reverse Java code into current model">
</command>
<command
commandId="org.eclipse.papyrus.java.reverse.ui.commands.CreateAssociationFromPropertyCommand"
icon="icons/associationFromProperty.gif"
label="Create Association From Property"
style="push">
</command>
</toolbar>
</menuContribution>
<menuContribution
locationURI="menu:org.eclipse.papyrus.ui.menu">
<menu
id="org.eclipse.papyrus.java.ui.menu"
label="Java">
<command
commandId="org.eclipse.papyrus.java.reverse.ui.reverseCodeCommand"
style="push">
</command>
</menu>
<menu
id="org.eclipse.papyrus.ui.menu.misc"
label="Utils">
<command
commandId="org.eclipse.papyrus.java.reverse.ui.commands.CreateAssociationFromPropertyCommand"
icon="icons/associationFromProperty.gif"
label="Create Association From Property"
style="push">
</command>
</menu>
</menuContribution>
<menuContribution
locationURI="popup:org.eclipse.sash.ui.folder">
<menu
id="org.eclipse.papyrus.java.ui.sash.menu"
label="Java">
<command
commandId="org.eclipse.papyrus.java.reverse.ui.reverseCodeCommand"
style="push">
</command>
</menu>
</menuContribution>
<menuContribution
locationURI="popup:org.eclipse.papyrus.views.modelexplorer.modelexplorer.popup">
<menu
id="org.eclipse.papyrus.ui.popupmenu.modelexplorer.misc"
label="Utils">
<command
commandId="org.eclipse.papyrus.java.reverse.ui.commands.CreateAssociationFromPropertyCommand"
icon="icons/associationFromProperty.gif"
label="Create Association From Property"
style="push">
</command>
</menu>
</menuContribution>
<menuContribution
locationURI="popup:org.eclipse.gmf.runtime.diagram.ui.DiagramEditorContextMenu">
<menu
id="org.eclipse.papyrus.ui.popupmenu.diagram.misc"
label="Utils">
<command
commandId="org.eclipse.papyrus.java.reverse.ui.commands.CreateAssociationFromPropertyCommand"
icon="icons/associationFromProperty.gif"
label="Create Association From Property"
style="push">
</command>
</menu>
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
description="Reverse Java code into current model"
id="org.eclipse.papyrus.java.reverse.ui.reverseCodeCommand"
name="Java Reverse">
</command>
<command
description="Create a New association from the Property."
id="org.eclipse.papyrus.java.reverse.ui.commands.CreateAssociationFromPropertyCommand"
name="Create Association From Property">
</command>
</extension>
<extension
point="org.eclipse.papyrus.infra.gmfdiag.dnd.dropStrategy">
<strategy
strategy="org.eclipse.papyrus.java.reverse.ui.dnd.DropReverseStrategy">
</strategy>
</extension>
</plugin>
|