blob: bcda26eea12687600273d05eddd5a22a1faf0ad0 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
<extension
point="org.eclipse.ui.commands">
<command
defaultHandler="org.eclipse.ecf.internal.remoteservices.ui.handlers.ConnectRemoteServicehandler"
id="org.eclipse.ecf.remoteservices.ui.commands.connectCommand"
name="Connect Command">
</command>
<command
defaultHandler="org.eclipse.ecf.internal.remoteservices.ui.handlers.ReflectiveRemoteServiceHandler"
id="org.eclipse.ecf.remoteservices.ui.commands.reflectiveMethodDialogHandler"
name="Reflective Method Invocation Command">
<commandParameter
id="org.eclipse.ecf.remoteservices.ui.commands.reflectiveMethodDialogParameter"
name="name"
optional="true">
</commandParameter>
</command>
<command
defaultHandler="org.eclipse.ecf.internal.remoteservices.ui.handlers.DisonnectRemoteServicehandler"
id="org.eclipse.ecf.remoteservices.ui.commands.disconnectCommand"
name="Disconnect Command">
</command>
</extension>
<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.connectCommand"
id="org.eclipse.ecf.remoteservices.ui.menus.connectCommand"
mnemonic="S">
<visibleWhen>
<with
variable="activeMenuSelection">
<iterate
ifEmpty="false"
operator="and">
<test
property="org.eclipse.ecf.remoteservices.isConnected"
value="false">
</test>
<test
args="remotesvcs"
property="org.eclipse.ecf.discovery.isServiceType"
value="true">
</test>
</iterate>
</with>
</visibleWhen>
</command>
<command
commandId="org.eclipse.ecf.remoteservices.ui.commands.disconnectCommand"
id="org.eclipse.ecf.remoteservices.ui.menus.disconnectCommand"
mnemonic="S"
style="push">
<visibleWhen
checkEnabled="false">
<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>
</command>
</menuContribution>
</extension>
<extension
point="org.eclipse.core.expressions.propertyTesters">
<propertyTester
class="org.eclipse.ecf.internal.remoteservices.ui.property.ConnectedTester"
id="org.eclipse.ecf.remoteservices.ui.property.ConnectedPropertyTester"
namespace="org.eclipse.ecf.remoteservices"
properties="isConnected"
type="org.eclipse.ecf.discovery.ui.model.IServiceInfo">
</propertyTester>
</extension>
</plugin>