plugin.xml
5.78 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<!--<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="menu:org.eclipse.ui.main.menu?after=additions">
<menu
label="Femto-ST">
<command
commandId="fr.femto.topcased.sysml2vhdlams.ui.sysml2problemcommand"
label="Check SysML model"
style="push">
</command>
<command
commandId="fr.femto.topcased.sysml2vhdlams.ui.sysml2vhdlamsxmicommand"
label="SysML to VHDL-AMS XMI model"
style="push">
</command>
<command
commandId="fr.femto.topcased.sysml2vhdlams.ui.sysml2vhdlamsfilecommand"
label="SysML to VHDL-AMS file"
style="push">
</command>
<visibleWhen
checkEnabled="false">
<with
variable="activeWorkbenchWindow.activePerspective">
<equals
value="org.topcased.modeler.perspective">
</equals>
</with>
</visibleWhen>
</menu>
</menuContribution>
<menuContribution
allPopups="false"
locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
<toolbar
id="fr.femto.sysml2vhdlams.core.toolbar">
<command
commandId="fr.femto.topcased.sysml2vhdlams.ui.sysml2problemcommand"
icon="icons/check_model_p.png"
label="Check SysML model"
style="push">
<visibleWhen
checkEnabled="false">
<with
variable="activeWorkbenchWindow.activePerspective">
<equals
value="org.topcased.modeler.perspective">
</equals>
</with>
</visibleWhen>
</command>
<command
commandId="fr.femto.topcased.sysml2vhdlams.ui.sysml2vhdlamsxmicommand"
icon="icons/xmi_icon_2.png"
label="SysML to VHDL-AMS XMI model"
style="push">
<visibleWhen
checkEnabled="false">
<with
variable="activeWorkbenchWindow.activePerspective">
<equals
value="org.topcased.modeler.perspective">
</equals>
</with>
</visibleWhen>
</command>
<command
commandId="fr.femto.topcased.sysml2vhdlams.ui.sysml2vhdlamsfilecommand"
icon="icons/smash_icon_2.gif"
label="SysML to VHDL-AMS file"
style="push">
<visibleWhen
checkEnabled="false">
<with
variable="activeWorkbenchWindow.activePerspective">
<equals
value="org.topcased.modeler.perspective">
</equals>
</with>
</visibleWhen>
</command>
</toolbar>
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
categoryId="fr.femto.sysml2vhdlams.core.category"
defaultHandler="fr.femto.topcased.sysml2vhdlams.commands.CheckSysMLModelCommand"
id="fr.femto.topcased.sysml2vhdlams.ui.sysml2problemcommand"
name="Check SysML model">
</command>
<command
categoryId="fr.femto.sysml2vhdlams.core.category"
defaultHandler="fr.femto.topcased.sysml2vhdlams.commands.SysMLToVhdlamsXmiCommand"
id="fr.femto.topcased.sysml2vhdlams.ui.sysml2vhdlamsxmicommand"
name="SysML to VHDL-AMS XMI model">
</command>
<command
categoryId="fr.femto.sysml2vhdlams.core.category"
defaultHandler="fr.femto.topcased.sysml2vhdlams.commands.SysMLToVhdlamsFileCommand"
id="fr.femto.topcased.sysml2vhdlams.ui.sysml2vhdlamsfilecommand"
name="SysML to VHDL-AMS file">
</command>
</extension>
<extension
point="org.eclipse.ui.views">
<view
category="fr.femto.sysml2vhdlams.ui.viewCategory"
class="fr.femto.topcased.sysml2vhdlams.views.ProblemView"
icon="icons/smash_icon.gif"
id="fr.femto.topcased.sysml2vhdlams.ui.problemview"
name="Transformation VHDL-AMS info"
restorable="true">
</view>
<category
id="fr.femto.sysml2vhdlams.ui.viewCategory"
name="SYSML2VHDLAMS">
</category>
</extension>-->
<extension
point="org.eclipse.ui.popupMenus">
<objectContribution
adaptable="false"
id="fr.femtost.disc.eclipse.core.objectImportPackageContribution"
objectClass="org.eclipse.uml2.uml.Package">
<action
class="fr.femtost.disc.eclipse.vhdlamslibrary.ui.actions.ImportVhdlAmsPrimitiveTypesAction"
id="org.eclipse.ui.articles.action.contribution.object.actionVhdlAmsPrimitiveTypesPackage"
label="Import VHDL-AMS Primitive Types"
menubarPath="new">
</action>
<action
class="fr.femtost.disc.eclipse.vhdlamslibrary.ui.actions.ImportIEEEPackageAction"
id="org.eclipse.ui.articles.action.contribution.object.actionImportIEEEPackage"
label="Import IEEE Library"
menubarPath="new">
</action>
</objectContribution>
</extension>
</plugin>