connectivity/com.nokia.carbide.remoteConnections/plugin.xml
author timkelly
Fri, 18 Jun 2010 17:10:13 -0500
branchC3_BUILDER_WORK
changeset 1497 440c4eac1a5a
parent 1375 e1bd36ac4b08
child 1501 b1f0f750ea28
permissions -rw-r--r--
Implement variant support for SBSv2 configuration management. Variants aren't selectable, only the global prefs allow you to create variants, if they exist in an SDK.

<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
   <extension-point id="connectionType" name="Connection Type" schema="schema/connectionType.exsd"/>
   <extension-point id="service" name="Service" schema="schema/service.exsd"/>
   <extension-point id="extensionFilter" name="Extension Filter" schema="schema/extensionFilter.exsd"/>
   <extension-point id="connectedServiceFactory" name="Connected Service Factory" schema="schema/connectedServiceFactory.exsd"/>
   <extension-point id="deviceDiscoveryAgent" name="Device Discovery Agent" schema="schema/deviceDiscoveryAgent.exsd"/>

   <extension
         point="org.eclipse.ui.views">
      <view
            name="%ViewName"
            icon="icons/connection.png"
            category="com.nokia.carbide.cpp"
            class="com.nokia.carbide.remoteconnections.view.ConnectionsView"
            id="com.nokia.carbide.remoteconnections.view.ConnectionsView">
      </view>
   </extension>
   <extension
         point="org.eclipse.ui.perspectiveExtensions">
      <perspectiveExtension
            targetID="com.nokia.carbide.cpp.CarbideCppPerspective">
         <view
               id="com.nokia.carbide.remoteconnections.view.ConnectionsView"
               relationship="stack"
               relative="org.eclipse.cdt.debug.ui.executablesView">
         </view>
      </perspectiveExtension>
   </extension>
   <extension
         point="org.eclipse.ui.exportWizards">
      <category
            id="com.nokia.carbide.remoteConnections.category"
            name="%CategoryName">
      </category>
      <wizard
            category="com.nokia.carbide.remoteConnections.category"
            class="com.nokia.carbide.remoteconnections.wizard.ExportWizard"
            icon="icons/connection.png"
            id="com.nokia.carbide.remoteConnections.exportWizard"
            name="%WizardName">
         <description>
            %Export.desc
         </description>
      </wizard>
   </extension>
   <extension
         point="org.eclipse.ui.importWizards">
      <category
            id="com.nokia.carbide.remoteConnections.category"
            name="%CategoryName">
      </category>
      <wizard
            category="com.nokia.carbide.remoteConnections.category"
            class="com.nokia.carbide.remoteconnections.wizard.ImportWizard"
            icon="icons/connection.png"
            id="com.nokia.carbide.remoteConnections.importWizard"
            name="%WizardName">
         <description>
            %Import.desc
         </description>
      </wizard>
   </extension>
 <extension
       point="org.eclipse.ui.actionSets">
    <actionSet
          id="com.nokia.carbide.remoteConnections.OnDevice.actionSet"
          label="On-Device Connections"
          visible="true">
       <action
             class="com.nokia.carbide.remoteconnections.settings.ui.OnDeviceConnectionAction"
             id="com.nokia.carbide.remoteConnections.OnDevice.action"
             label="%OnDevice.label"
             menubarPath="help/onDeviceGroup">
       </action>
    </actionSet>
 </extension>

<!-- We use an Eclipse toolbar command to show the ToolItem icon for the 
current connection status.  This is required to get the same kind of
UI as a toolbar item, without resorting to exorbant recreation of
the platform UI.  But this also means we directly depend on being
able to find the ToolItem at runtime.  Thus, this command id 
should not change without syncing with the ConnectionStatusSelectorContribution
class. -->

<extension point="org.eclipse.ui.commands">
	<command
		id="com.nokia.carbide.remoteConnections.commands.openRemoteConnectionsView"
		name="Open Remote Connections View">
	</command>
</extension>

<extension point="org.eclipse.ui.handlers">
	<handler
		class="com.nokia.carbide.remoteconnections.internal.ui.OpenConnectionViewCommandHandler"
		commandId="com.nokia.carbide.remoteConnections.commands.openRemoteConnectionsView">
	</handler>
</extension>

<extension point="org.eclipse.ui.menus">
	<menuContribution
		locationURI="toolbar:org.eclipse.ui.trim.status">
        <toolbar
			id="com.nokia.carbide.remoteConnections.contributions.toolbar.trim">
			<command
				commandId="com.nokia.carbide.remoteConnections.commands.openRemoteConnectionsView"
				icon="icons/connection.png"
				label=""
				id="openRemoteConnectionsView"
				
				tooltip="Current connection status">
			</command>
			
			<control
				class="com.nokia.carbide.remoteconnections.internal.ui.ConnectionStatusSelectorContribution"
				id="deviceStatusSelectorContribution">
			</control>
        </toolbar>
	</menuContribution>
</extension>
</plugin>