| <?xml version="1.0" encoding="UTF-8"?> |
| <?eclipse version="3.2"?> |
| <plugin> |
| <extension |
| point="org.eclipse.ui.menus"> |
| <menuContribution |
| locationURI="popup:org.eclipse.ecf.discovery.ui.DiscoveryView?after=additions"> |
| <command |
| commandId="org.eclipse.ecf.remoteservices.ui.commands.reflectiveMethodDialogHandler" |
| mnemonic="S"> |
| <visibleWhen> |
| <with |
| variable="activeMenuSelection"> |
| <iterate |
| ifEmpty="false" |
| operator="and"> |
| <test |
| property="org.eclipse.ecf.remoteservices.isConnected" |
| value="true"> |
| </test> |
| <test |
| args="remotesvcs" |
| property="org.eclipse.ecf.discovery.isServiceType" |
| value="true"> |
| </test> |
| </iterate> |
| </with> |
| </visibleWhen> |
| <parameter |
| name="org.eclipse.ecf.remoteservices.ui.commands.reflectiveMethodDialogParameter" |
| value="org.eclipse.ecf.examples.remoteservices.common.IRemoteEnvironmentInfo"> |
| </parameter> |
| </command> |
| </menuContribution> |
| </extension> |
| </plugin> |