mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00

Change-Id: I5ef20c1c81c17896e3c73ae0aa8c6cf47a708016 Signed-off-by: nickboldt <nboldt@redhat.com>
217 lines
7.8 KiB
XML
217 lines
7.8 KiB
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<!-- Schema file written by PDE -->
|
|
<schema targetNamespace="org.eclipse.tcf.te.ui.terminals" xmlns="http://www.w3.org/2001/XMLSchema">
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.schema plugin="org.eclipse.tcf.te.ui.terminals" id="launcherDelegates" name="Terminal Launcher Delegates"/>
|
|
</appinfo>
|
|
<documentation>
|
|
This extension point is used to contribute terminal launcher delegates.
|
|
<p>
|
|
Terminal launcher delegates contributes terminal settings widget to the <code>LaunchTerminalSettingsDialog</code> required to open a remote terminal through a specific communication channel, like TCF or SSH.
|
|
</documentation>
|
|
</annotation>
|
|
|
|
<include schemaLocation="schema://org.eclipse.core.expressions/schema/expressionLanguage.exsd"/>
|
|
|
|
<element name="extension">
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.element />
|
|
</appinfo>
|
|
</annotation>
|
|
<complexType>
|
|
<sequence>
|
|
<element ref="delegate" minOccurs="1" 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="delegate">
|
|
<annotation>
|
|
<documentation>
|
|
Declares a terminal launcher delegate contribution.
|
|
</documentation>
|
|
</annotation>
|
|
<complexType>
|
|
<sequence>
|
|
<element ref="class" minOccurs="0" maxOccurs="1"/>
|
|
<element ref="description" minOccurs="0" maxOccurs="1"/>
|
|
<element ref="enablement" minOccurs="0" maxOccurs="1"/>
|
|
</sequence>
|
|
<attribute name="id" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
The unique id of the terminal launcher delegate contribution.
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="label" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
The label representing the terminal launcher delegate within the UI.
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="class" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
The class that implements <code>org.eclipse.tcf.te.ui.terminals.interfaces.ILauncherDelegate</code> or extends <code>org.eclipse.tcf.te.ui.terminals.launcher.AbstractLauncherDelegate</code>.
|
|
<p>
|
|
The terminal launcher delegate implementation class must be specified either by the class attribute or the class child element!
|
|
</documentation>
|
|
<appinfo>
|
|
<meta.attribute kind="java" basedOn="org.eclipse.tm.terminal.view.ui.launcher.AbstractLauncherDelegate:org.eclipse.tm.terminal.view.ui.interfaces.ILauncherDelegate"/>
|
|
</appinfo>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="hidden" type="boolean">
|
|
<annotation>
|
|
<documentation>
|
|
If <code>true</code>, than the terminal launcher delegate is not visible in the UI, even if a possible <code>enablement</code> will evaluate to <code>true</code>.
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
</complexType>
|
|
</element>
|
|
|
|
<element name="description" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
A short description of the terminal connector type to be presented in the UI.
|
|
</documentation>
|
|
</annotation>
|
|
</element>
|
|
|
|
<element name="class">
|
|
<annotation>
|
|
<documentation>
|
|
Used when creating an <code>IExecutableExtension</code> with a named parameter, or more than one.
|
|
</documentation>
|
|
</annotation>
|
|
<complexType>
|
|
<sequence>
|
|
<element ref="parameter" minOccurs="0" maxOccurs="unbounded"/>
|
|
</sequence>
|
|
<attribute name="class" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
The class that implements <code>org.eclipse.tcf.te.ui.terminals.interfaces.ILauncherDelegate</code> or extends <code>org.eclipse.tcf.te.ui.terminals.launcher.AbstractLauncherDelegate</code>.
|
|
<p>
|
|
The terminal launcher delegate implementation class must be specified either by the class attribute or the class child element!
|
|
</documentation>
|
|
<appinfo>
|
|
<meta.attribute kind="java" basedOn="org.eclipse.tm.terminal.view.ui.launcher.AbstractLauncherDelegate:org.eclipse.tm.terminal.view.ui.interfaces.ILauncherDelegate"/>
|
|
</appinfo>
|
|
</annotation>
|
|
</attribute>
|
|
</complexType>
|
|
</element>
|
|
|
|
<element name="parameter">
|
|
<annotation>
|
|
<documentation>
|
|
A parameter for an <code>IExecutableExtension</code>.
|
|
</documentation>
|
|
</annotation>
|
|
<complexType>
|
|
<attribute name="name" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
<p>The parameter name.</p>
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="value" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
<p>The parameter value.</p>
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
</complexType>
|
|
</element>
|
|
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.section type="since"/>
|
|
</appinfo>
|
|
<documentation>
|
|
Target Explorer 1.0.0
|
|
</documentation>
|
|
</annotation>
|
|
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.section type="examples"/>
|
|
</appinfo>
|
|
<documentation>
|
|
This is an example of the extension point usage:
|
|
<p>
|
|
<pre><code>
|
|
<extension point="org.eclipse.tcf.te.ui.terminals.launcherDelegates">
|
|
<delegate
|
|
id="org.eclipse.tcf.te.ui.terminals.launcher.tcf"
|
|
class="org.eclipse.tcf.te.tcf.terminals.ui.internal.TerminalLauncherDelegate"
|
|
label="TCF Terminal">
|
|
<enablement>
|
|
...
|
|
</enablement>
|
|
</delegate>
|
|
</extension>
|
|
</code></pre>
|
|
</documentation>
|
|
</annotation>
|
|
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.section type="apiinfo"/>
|
|
</appinfo>
|
|
<documentation>
|
|
The provider of a launcher delegate must implement <samp>org.eclipse.tcf.te.ui.terminals.interfaces.ILauncherDelegate</samp>.
|
|
</documentation>
|
|
</annotation>
|
|
|
|
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.section type="copyright"/>
|
|
</appinfo>
|
|
<documentation>
|
|
Copyright (c) 2011, 2018 Wind River Systems, Inc. and others.
|
|
|
|
All rights reserved.
|
|
|
|
This program and the accompanying materials are made available under the terms
|
|
of the Eclipse Public License 2.0 which accompanies this distribution, and is
|
|
available at https://www.eclipse.org/legal/epl-2.0/
|
|
|
|
SPDX-License-Identifier: EPL-2.0
|
|
</documentation>
|
|
</annotation>
|
|
|
|
</schema>
|