- Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathplugin.xml
More file actions
Latest commit
41 lines (41 loc) · 2.18 KB
/
Copy pathplugin.xml
File metadata and controls
41 lines (41 loc) · 2.18 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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extensionpoint="org.eclipse.ui.commands">
<categoryname="JCE"id="JCE.commands.category" />
<commandname="Ecorify From..."categoryId="JCE.commands.category"id="JCE.commands.ecorifyCommand" />
<commandcategoryId="JCE.commands.category"id="JCE.commands.extractCommand"name="Extract From..." />
</extension>
<extensionpoint="org.eclipse.ui.handlers">
<handlercommandId="JCE.commands.ecorifyCommand"class="jce.handlers.EcorificationHandler" />
<handlerclass="jce.handlers.ExtractionHandler"commandId="JCE.commands.extractCommand" />
</extension>
<extensionpoint="org.eclipse.ui.menus">
<menuContributionlocationURI="popup:org.eclipse.ui.popup.any">
<menuicon="src/main/resources/jce.gif"label="JCE"tooltip="Java Code Ecorification">
<commandcommandId="JCE.commands.ecorifyCommand"id="JCE.menus.extractCommand"label="Ecorify Java Project..."mnemonic="S"tooltip="Start the Ecorification of Java code.">
<visibleWhen>
<withvariable="activeMenuSelection">
<iterateifEmpty="false">
<adapttype="org.eclipse.core.resources.IProject">
<testproperty="org.eclipse.core.resources.open"value="open" />
</adapt>
</iterate>
</with>
</visibleWhen>
</command>
<commandcommandId="JCE.commands.extractCommand"id="JCE.menus.extractCommand"label="Extract Ecore Metamodel..."tooltip="Start only the Ecore metamodel extraction of the Ecorification of Java code.">
<visibleWhen>
<withvariable="activeMenuSelection">
<iterateifEmpty="false">
<adapttype="org.eclipse.core.resources.IProject">
<testproperty="org.eclipse.core.resources.open"value="open" />
</adapt>
</iterate>
</with>
</visibleWhen>
</command>
</menu>
</menuContribution>
</extension>
</plugin>