|
60 | 60 | </shortcut> |
61 | 61 | </extension> |
62 | 62 |
|
| 63 | + <!-- goal2 --> |
| 64 | + <extension |
| 65 | + point="org.eclipse.debug.core.launchConfigurationTypes"> |
| 66 | + <launchConfigurationType |
| 67 | + delegate="org.nodeclipse.enide.maven.launch.goal2.LaunchConfigurationDelegate" |
| 68 | + id="org.nodeclipse.enide.maven.launch.goal2.LaunchConfigurationType" |
| 69 | + modes="run" |
| 70 | + name="Maven goal2"> |
| 71 | + </launchConfigurationType> |
| 72 | + </extension> |
| 73 | + <extension |
| 74 | + point= "org.eclipse.debug.ui.launchConfigurationTypeImages" > |
| 75 | + <launchConfigurationTypeImage |
| 76 | + configTypeID= "org.nodeclipse.enide.maven.launch.goal2.LaunchConfigurationType" |
| 77 | + icon= "icons/feather-ma16_bottom_right_corner_run_half_size.png" |
| 78 | + id= "org.nodeclipse.enide.maven.launch.goal2.LaunchConfigurationTypeImage" > |
| 79 | + </launchConfigurationTypeImage> |
| 80 | + </extension> |
| 81 | + <extension |
| 82 | + point="org.eclipse.debug.ui.launchConfigurationTabGroups"> |
| 83 | + <launchConfigurationTabGroup |
| 84 | + class= "org.nodeclipse.enide.maven.launch.goal2.LaunchConfigurationTabGroup" |
| 85 | + id= "org.nodeclipse.enide.maven.launch.goal2.LaunchConfigurationTabGroup" |
| 86 | + type= "org.nodeclipse.enide.maven.launch.goal2.LaunchConfigurationType" > |
| 87 | + </launchConfigurationTabGroup> |
| 88 | + </extension> |
| 89 | + <!-- pom.xml run as goal2 --> |
| 90 | + <extension |
| 91 | + point= "org.eclipse.debug.ui.launchShortcuts" > |
| 92 | + <shortcut |
| 93 | + class= "org.nodeclipse.enide.maven.launch.goal2.LaunchShortcut" |
| 94 | + icon= "icons/feather-ma16_bottom_right_corner_run_half_size.png" |
| 95 | + id= "org.nodeclipse.enide.maven.launch.goal2.LaunchShortcut" |
| 96 | + label= "mvn goal2 Maven goal" |
| 97 | + modes= "run" > |
| 98 | + <configurationType |
| 99 | + id= "org.nodeclipse.enide.maven.launch.goal2.LaunchConfigurationType" > |
| 100 | + </configurationType> |
| 101 | + <contextualLaunch> |
| 102 | + <enablement> |
| 103 | + <with |
| 104 | + variable= "selection" > |
| 105 | + <count |
| 106 | + value= "1" > |
| 107 | + </count> |
| 108 | + <iterate> |
| 109 | + <or> |
| 110 | + <test |
| 111 | + property= "org.eclipse.debug.ui.matchesPattern" |
| 112 | + value= "pom*.xml" > |
| 113 | + </test> |
| 114 | + </or> |
| 115 | + </iterate> |
| 116 | + </with> |
| 117 | + </enablement> |
| 118 | + </contextualLaunch> |
| 119 | + </shortcut> |
| 120 | + </extension> |
| 121 | + |
| 122 | + |
| 123 | + <!-- goal2 --> |
| 124 | + <extension |
| 125 | + point="org.eclipse.debug.core.launchConfigurationTypes"> |
| 126 | + <launchConfigurationType |
| 127 | + delegate="org.nodeclipse.enide.maven.launch.goal2.LaunchConfigurationDelegate" |
| 128 | + id="org.nodeclipse.enide.maven.launch.goal2.LaunchConfigurationType" |
| 129 | + modes="run" |
| 130 | + name="Maven goal2"> |
| 131 | + </launchConfigurationType> |
| 132 | + </extension> |
| 133 | + <extension |
| 134 | + point= "org.eclipse.debug.ui.launchConfigurationTypeImages" > |
| 135 | + <launchConfigurationTypeImage |
| 136 | + configTypeID= "org.nodeclipse.enide.maven.launch.goal2.LaunchConfigurationType" |
| 137 | + icon= "icons/feather-ma16_bottom_right_corner_run_half_size.png" |
| 138 | + id= "org.nodeclipse.enide.maven.launch.goal2.LaunchConfigurationTypeImage" > |
| 139 | + </launchConfigurationTypeImage> |
| 140 | + </extension> |
| 141 | + <extension |
| 142 | + point="org.eclipse.debug.ui.launchConfigurationTabGroups"> |
| 143 | + <launchConfigurationTabGroup |
| 144 | + class= "org.nodeclipse.enide.maven.launch.goal2.LaunchConfigurationTabGroup" |
| 145 | + id= "org.nodeclipse.enide.maven.launch.goal2.LaunchConfigurationTabGroup" |
| 146 | + type= "org.nodeclipse.enide.maven.launch.goal2.LaunchConfigurationType" > |
| 147 | + </launchConfigurationTabGroup> |
| 148 | + </extension> |
| 149 | + <!-- pom.xml run as goal2 --> |
| 150 | + <extension |
| 151 | + point= "org.eclipse.debug.ui.launchShortcuts" > |
| 152 | + <shortcut |
| 153 | + class= "org.nodeclipse.enide.maven.launch.goal2.LaunchShortcut" |
| 154 | + icon= "icons/feather-ma16_bottom_right_corner_run_half_size.png" |
| 155 | + id= "org.nodeclipse.enide.maven.launch.goal2.LaunchShortcut" |
| 156 | + label= "mvn goal2 Maven goal" |
| 157 | + modes= "run" > |
| 158 | + <configurationType |
| 159 | + id= "org.nodeclipse.enide.maven.launch.goal2.LaunchConfigurationType" > |
| 160 | + </configurationType> |
| 161 | + <contextualLaunch> |
| 162 | + <enablement> |
| 163 | + <with |
| 164 | + variable= "selection" > |
| 165 | + <count |
| 166 | + value= "1" > |
| 167 | + </count> |
| 168 | + <iterate> |
| 169 | + <or> |
| 170 | + <test |
| 171 | + property= "org.eclipse.debug.ui.matchesPattern" |
| 172 | + value= "pom*.xml" > |
| 173 | + </test> |
| 174 | + </or> |
| 175 | + </iterate> |
| 176 | + </with> |
| 177 | + </enablement> |
| 178 | + </contextualLaunch> |
| 179 | + </shortcut> |
| 180 | + </extension> |
| 181 | + |
| 182 | + |
63 | 183 | <!-- jetty:run --> |
64 | 184 | <extension |
65 | 185 | point="org.eclipse.debug.core.launchConfigurationTypes"> |
|
0 commit comments