blob: 1d0dabaec487d1b7b7232a87649cdae976e0bd08 [file] [log] [blame]
Harald Mackamuld292a7f2016-07-07 16:23:12 +02001<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.4"?>
3<plugin>
4 <extension
5 point="org.eclipse.ui.handlers">
6 <handler
7 class="org.eclipse.app4mc.multicore.partitioning.handlers.PartitioningHandler"
8 commandId="org.eclipse.app4mc.multicore.partitioning.perform">
9 </handler>
10 <handler
Robert Hoettgerb09554f2017-08-07 16:27:12 +020011 class="org.eclipse.app4mc.multicore.partitioning.handlers.WriteGraphvizHandler"
12 commandId="org.eclipse.app4mc.multicore.partitioning.visualize2">
13 </handler>
Harald Mackamuld292a7f2016-07-07 16:23:12 +020014 </extension>
15 <extension
16 point="org.eclipse.ui.menus">
17 <menuContribution
18 allPopups="false"
Robert Hoettger50006062017-02-10 18:07:59 +010019 locationURI="popup:org.eclipse.app4mc.multicore.menu?after=org.eclipse.app4mc.multicore.openmapping.popups.performMapping">
Harald Mackamuld292a7f2016-07-07 16:23:12 +020020 <command
Robert Hoettger50006062017-02-10 18:07:59 +010021 commandId="org.eclipse.app4mc.multicore.partitioning.visualize"
22 id="org.eclipse.app4mc.multicore.partitioning.popups.visualize"
23 label="Create Applet"
Harald Mackamuld292a7f2016-07-07 16:23:12 +020024 style="push">
25 <visibleWhen
26 checkEnabled="false">
27 <with
28 variable="activeMenuSelection">
29 <iterate
30 ifEmpty="false">
31 <instanceof
32 value="org.eclipse.core.resources.IResource">
33 </instanceof>
34 <test
35 property="org.eclipse.core.resources.extension"
36 value="amxmi">
37 </test>
38 </iterate>
39 </with>
40 </visibleWhen>
41 </command>
Robert Hoettger50006062017-02-10 18:07:59 +010042 </menuContribution>
43 <menuContribution
44 allPopups="false"
45 locationURI="popup:org.eclipse.app4mc.multicore.menu?before=org.eclipse.app4mc.multicore.openmapping.popups.createTasks">
Harald Mackamuld292a7f2016-07-07 16:23:12 +020046 <command
Robert Hoettger50006062017-02-10 18:07:59 +010047 commandId="org.eclipse.app4mc.multicore.partitioning.perform"
48 id="org.eclipse.app4mc.multicore.partitioning.popups.perform"
49 label="Perform Partitioning"
Harald Mackamuld292a7f2016-07-07 16:23:12 +020050 style="push">
51 <visibleWhen
52 checkEnabled="false">
53 <with
54 variable="activeMenuSelection">
55 <iterate
56 ifEmpty="false">
57 <instanceof
58 value="org.eclipse.core.resources.IResource">
59 </instanceof>
60 <test
61 property="org.eclipse.core.resources.extension"
62 value="amxmi">
63 </test>
64 </iterate>
65 </with>
66 </visibleWhen>
67 </command>
68 </menuContribution>
Robert Hoettgerb09554f2017-08-07 16:27:12 +020069 <menuContribution
70 allPopups="false"
71 locationURI="popup:org.eclipse.app4mc.multicore.menu?after=org.eclipse.app4mc.multicore.openmapping.popups.performMapping">
72 <command
73 commandId="org.eclipse.app4mc.multicore.partitioning.visualize2"
74 id="org.eclipse.app4mc.multicore.partitioning.popups.visualize2"
75 label="Create Graphviz (.dot) file"
76 style="push">
77 <visibleWhen
78 checkEnabled="false">
79 <with
80 variable="activeMenuSelection">
81 <iterate
82 ifEmpty="false">
83 <instanceof
84 value="org.eclipse.core.resources.IResource">
85 </instanceof>
86 <test
87 property="org.eclipse.core.resources.extension"
88 value="amxmi">
89 </test>
90 </iterate>
91 </with>
92 </visibleWhen>
93 </command>
94 </menuContribution>
Harald Mackamuld292a7f2016-07-07 16:23:12 +020095 </extension>
96 <extension
97 point="org.eclipse.ui.commands">
98 <command
99 id="org.eclipse.app4mc.multicore.partitioning.perform"
100 name="Perform Partitioning">
101 </command>
102 <command
Robert Hoettgerb09554f2017-08-07 16:27:12 +0200103 id="org.eclipse.app4mc.multicore.partitioning.visualize2"
104 name="Generate Graphviz">
105 </command>
Harald Mackamuld292a7f2016-07-07 16:23:12 +0200106 </extension>
Pedro Cuadrab3a44122017-02-27 16:06:20 +0100107
Harald Mackamuld292a7f2016-07-07 16:23:12 +0200108 <extension
109 point="org.eclipse.core.runtime.preferences">
110 <initializer
Pedro Cuadrab3a44122017-02-27 16:06:20 +0100111 class="org.eclipse.app4mc.multicore.partitioning.ParPreferenceInitializer">
Harald Mackamuld292a7f2016-07-07 16:23:12 +0200112 </initializer>
113 </extension>
114
115</plugin>