Harald Mackamul | d292a7f | 2016-07-07 16:23:12 +0200 | [diff] [blame] | 1 | <?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 Hoettger | b09554f | 2017-08-07 16:27:12 +0200 | [diff] [blame] | 11 | class="org.eclipse.app4mc.multicore.partitioning.handlers.WriteGraphvizHandler" |
| 12 | commandId="org.eclipse.app4mc.multicore.partitioning.visualize2"> |
| 13 | </handler> |
Harald Mackamul | d292a7f | 2016-07-07 16:23:12 +0200 | [diff] [blame] | 14 | </extension> |
| 15 | <extension |
| 16 | point="org.eclipse.ui.menus"> |
| 17 | <menuContribution |
| 18 | allPopups="false" |
Robert Hoettger | 5000606 | 2017-02-10 18:07:59 +0100 | [diff] [blame] | 19 | locationURI="popup:org.eclipse.app4mc.multicore.menu?after=org.eclipse.app4mc.multicore.openmapping.popups.performMapping"> |
Harald Mackamul | d292a7f | 2016-07-07 16:23:12 +0200 | [diff] [blame] | 20 | <command |
Robert Hoettger | 5000606 | 2017-02-10 18:07:59 +0100 | [diff] [blame] | 21 | commandId="org.eclipse.app4mc.multicore.partitioning.visualize" |
| 22 | id="org.eclipse.app4mc.multicore.partitioning.popups.visualize" |
| 23 | label="Create Applet" |
Harald Mackamul | d292a7f | 2016-07-07 16:23:12 +0200 | [diff] [blame] | 24 | 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 Hoettger | 5000606 | 2017-02-10 18:07:59 +0100 | [diff] [blame] | 42 | </menuContribution> |
| 43 | <menuContribution |
| 44 | allPopups="false" |
| 45 | locationURI="popup:org.eclipse.app4mc.multicore.menu?before=org.eclipse.app4mc.multicore.openmapping.popups.createTasks"> |
Harald Mackamul | d292a7f | 2016-07-07 16:23:12 +0200 | [diff] [blame] | 46 | <command |
Robert Hoettger | 5000606 | 2017-02-10 18:07:59 +0100 | [diff] [blame] | 47 | commandId="org.eclipse.app4mc.multicore.partitioning.perform" |
| 48 | id="org.eclipse.app4mc.multicore.partitioning.popups.perform" |
| 49 | label="Perform Partitioning" |
Harald Mackamul | d292a7f | 2016-07-07 16:23:12 +0200 | [diff] [blame] | 50 | 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 Hoettger | b09554f | 2017-08-07 16:27:12 +0200 | [diff] [blame] | 69 | <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 Mackamul | d292a7f | 2016-07-07 16:23:12 +0200 | [diff] [blame] | 95 | </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 Hoettger | b09554f | 2017-08-07 16:27:12 +0200 | [diff] [blame] | 103 | id="org.eclipse.app4mc.multicore.partitioning.visualize2" |
| 104 | name="Generate Graphviz"> |
| 105 | </command> |
Harald Mackamul | d292a7f | 2016-07-07 16:23:12 +0200 | [diff] [blame] | 106 | </extension> |
Pedro Cuadra | b3a4412 | 2017-02-27 16:06:20 +0100 | [diff] [blame] | 107 | |
Harald Mackamul | d292a7f | 2016-07-07 16:23:12 +0200 | [diff] [blame] | 108 | <extension |
| 109 | point="org.eclipse.core.runtime.preferences"> |
| 110 | <initializer |
Pedro Cuadra | b3a4412 | 2017-02-27 16:06:20 +0100 | [diff] [blame] | 111 | class="org.eclipse.app4mc.multicore.partitioning.ParPreferenceInitializer"> |
Harald Mackamul | d292a7f | 2016-07-07 16:23:12 +0200 | [diff] [blame] | 112 | </initializer> |
| 113 | </extension> |
| 114 | |
| 115 | </plugin> |