|
| 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="de.fraunhofer.ipa.roscode.generator.RosCodeGeneratorExecutableExtensionFactory:de.fraunhofer.ipa.roscode.generator.GenerationHandler" |
| 8 | + commandId="de.fraunhofer.ipa.roscode.generator.command"> |
| 9 | + </handler> |
| 10 | + </extension> |
| 11 | + |
| 12 | + <extension |
| 13 | + point="org.eclipse.ui.commands"> |
| 14 | + <command |
| 15 | + id="de.fraunhofer.ipa.roscode.generator.command" |
| 16 | + name="Generate ROS code"> |
| 17 | + </command> |
| 18 | + </extension> |
| 19 | + <extension |
| 20 | + point="org.eclipse.ui.menus"> |
| 21 | + <menuContribution |
| 22 | + allPopups="false" |
| 23 | + locationURI="popup:org.eclipse.ui.popup.any?after=additions"> |
| 24 | + <command |
| 25 | + commandId="de.fraunhofer.ipa.roscode.generator.command" |
| 26 | + > |
| 27 | + <visibleWhen |
| 28 | + checkEnabled="false"> |
| 29 | + <and> |
| 30 | + <with |
| 31 | + variable="selection"> |
| 32 | + <count |
| 33 | + value="1"> |
| 34 | + </count> |
| 35 | + </with> |
| 36 | + <iterate |
| 37 | + ifEmpty="false"> |
| 38 | + <test |
| 39 | + property="org.eclipse.core.resources.extension" |
| 40 | + value="ros"> |
| 41 | + </test> |
| 42 | + </iterate> |
| 43 | + </and> |
| 44 | + </visibleWhen> |
| 45 | + </command> |
| 46 | + </menuContribution> |
| 47 | + </extension>--> |
| 48 | + |
| 49 | + |
| 50 | + <!-- ROS2 cpp code generator for nodes --> |
| 51 | + |
| 52 | + <extension |
| 53 | + point="org.eclipse.ui.handlers"> |
| 54 | + <handler |
| 55 | + class="de.fraunhofer.ipa.roscode.generator.RosCodeGeneratorExecutableExtensionFactory:de.fraunhofer.ipa.roscode.generator.GenerationRos2CppHandler" |
| 56 | + commandId="de.fraunhofer.ipa.ros2cppcode.generator.command"> |
| 57 | + </handler> |
| 58 | + </extension> |
| 59 | + |
| 60 | + <extension |
| 61 | + point="org.eclipse.ui.commands"> |
| 62 | + <command |
| 63 | + id="de.fraunhofer.ipa.ros2cppcode.generator.command" |
| 64 | + name="Generate ROS 2 Cpp code"> |
| 65 | + </command> |
| 66 | + </extension> |
| 67 | + <extension |
| 68 | + point="org.eclipse.ui.menus"> |
| 69 | + <menuContribution |
| 70 | + allPopups="false" |
| 71 | + locationURI="popup:org.eclipse.ui.popup.any?after=additions"> |
| 72 | + <command |
| 73 | + commandId="de.fraunhofer.ipa.ros2cppcode.generator.command" |
| 74 | + > |
| 75 | + <visibleWhen |
| 76 | + checkEnabled="false"> |
| 77 | + <and> |
| 78 | + <with |
| 79 | + variable="selection"> |
| 80 | + <count |
| 81 | + value="1"> |
| 82 | + </count> |
| 83 | + </with> |
| 84 | + <iterate |
| 85 | + ifEmpty="false"> |
| 86 | + <test |
| 87 | + property="org.eclipse.core.resources.extension" |
| 88 | + value="ros2"> |
| 89 | + </test> |
| 90 | + </iterate> |
| 91 | + </and> |
| 92 | + </visibleWhen> |
| 93 | + </command> |
| 94 | + </menuContribution> |
| 95 | + </extension> |
| 96 | + |
| 97 | + |
| 98 | + <!-- ROS2 python code generator for nodes --> |
| 99 | + <extension |
| 100 | + point="org.eclipse.ui.handlers"> |
| 101 | + <handler |
| 102 | + class="de.fraunhofer.ipa.roscode.generator.RosCodeGeneratorExecutableExtensionFactory:de.fraunhofer.ipa.roscode.generator.GenerationRos2PythonHandler" |
| 103 | + commandId="de.fraunhofer.ipa.ros2pythoncode.generator.command"> |
| 104 | + </handler> |
| 105 | + </extension> |
| 106 | + |
| 107 | + <extension |
| 108 | + point="org.eclipse.ui.commands"> |
| 109 | + <command |
| 110 | + id="de.fraunhofer.ipa.ros2pythoncode.generator.command" |
| 111 | + name="Generate ROS 2 Python code"> |
| 112 | + </command> |
| 113 | + </extension> |
| 114 | + <extension |
| 115 | + point="org.eclipse.ui.menus"> |
| 116 | + <menuContribution |
| 117 | + allPopups="false" |
| 118 | + locationURI="popup:org.eclipse.ui.popup.any?after=additions"> |
| 119 | + <command |
| 120 | + commandId="de.fraunhofer.ipa.ros2pythoncode.generator.command" |
| 121 | + > |
| 122 | + <visibleWhen |
| 123 | + checkEnabled="false"> |
| 124 | + <and> |
| 125 | + <with |
| 126 | + variable="selection"> |
| 127 | + <count |
| 128 | + value="1"> |
| 129 | + </count> |
| 130 | + </with> |
| 131 | + <iterate |
| 132 | + ifEmpty="false"> |
| 133 | + <test |
| 134 | + property="org.eclipse.core.resources.extension" |
| 135 | + value="ros2"> |
| 136 | + </test> |
| 137 | + </iterate> |
| 138 | + </and> |
| 139 | + </visibleWhen> |
| 140 | + </command> |
| 141 | + </menuContribution> |
| 142 | + </extension> |
| 143 | + |
| 144 | +</plugin> |
0 commit comments