2016-03-03 11:21:21 -05:00
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.remote.console" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appinfo>
<meta.schema plugin="org.eclipse.remote.console" id="org.eclipse.remote.console.toolbar" name="Terminal Console Toolbar Contributions"/>
</appinfo>
<documentation>
2016-03-14 16:51:23 -04:00
This extension point allows contributions to the TerminalConsole for various types of connections. It associates an action id with a connection type and factory.
2016-03-03 11:21:21 -05:00
</documentation>
</annotation>
<element name="extension">
<annotation>
<appinfo>
<meta.element />
</appinfo>
</annotation>
<complexType>
<sequence>
<element ref="action" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="point" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="id" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string">
<annotation>
<documentation>
</documentation>
<appinfo>
<meta.attribute translatable="true"/>
</appinfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="action">
<complexType>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
Identifier for this action
</documentation>
</annotation>
</attribute>
<attribute name="connectionType" type="string" use="required">
<annotation>
<documentation>
The connection type this Action applies to
</documentation>
</annotation>
</attribute>
<attribute name="actionFactory" type="string" use="required">
<annotation>
<documentation>
A class implementing IConsoleActionFactory to be called to create the Action
</documentation>
<appinfo>
<meta.attribute kind="java" basedOn=":org.eclipse.remote.console.actions.IConsoleActionFactory"/>
</appinfo>
</annotation>
</attribute>
</complexType>
</element>
2016-03-14 16:51:23 -04:00
2016-03-03 11:21:21 -05:00
<annotation>
<appinfo>
2016-03-14 16:51:23 -04:00
<meta.section type="examples"/>
2016-03-03 11:21:21 -05:00
</appinfo>
<documentation>
2016-03-14 16:51:23 -04:00
<extension
point="org.eclipse.remote.console.toolbar">
<action
actionFactory="com.example.actions.MyActionFactory"
connectionType="org.eclipse.remote.serial.core.connectionType"
id="com.example.actions.MyAction">
</action>
</extension>
2016-03-03 11:21:21 -05:00
</documentation>
</annotation>
<annotation>
<appinfo>
2016-03-14 16:51:23 -04:00
<meta.section type="apiinfo"/>
2016-03-03 11:21:21 -05:00
</appinfo>
<documentation>
2016-03-14 16:51:23 -04:00
The value of the actionFactory attribute must implement the abstract class <code>org.eclipse.remote.console.ConsoleAction</code>
The value of the connectionType attribute should reference the id of a connectionType under the org.eclipse.remote.core.remoteServices extension point.
2016-03-03 11:21:21 -05:00
</documentation>
</annotation>
<annotation>
<appinfo>
2016-03-14 16:51:23 -04:00
<meta.section type="implementation"/>
2016-03-03 11:21:21 -05:00
</appinfo>
<documentation>
2016-03-14 16:51:23 -04:00
The package itself does not have any predefined toolbar contributions.
2016-03-03 11:21:21 -05:00
</documentation>
</annotation>
<annotation>
<appinfo>
2016-03-14 16:51:23 -04:00
<meta.section type="copyright"/>
2016-03-03 11:21:21 -05:00
</appinfo>
<documentation>
2016-03-14 16:51:23 -04:00
/*******************************************************************************
* Copyright (c) 2016 QNX Software Systems and others.
2022-01-11 21:11:49 -05:00
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
2016-03-14 16:51:23 -04:00
* which accompanies this distribution, and is available at
2022-01-11 21:11:49 -05:00
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
2016-03-14 16:51:23 -04:00
*
* Contributors:
* QNX Software Systems - Initial API and implementation
*******************************************************************************/
2016-03-03 11:21:21 -05:00
</documentation>
</annotation>
</schema>