| <?xml version='1.0' encoding='UTF-8'?> | |
| <!-- Schema file written by PDE --> | |
| <schema targetNamespace="org.eclipse.ui.console"> | |
| <annotation> | |
| <appInfo> | |
| <meta.schema plugin="org.eclipse.ui.console" id="consolePageParticipants" name="Console Page Participants"/> | |
| </appInfo> | |
| <documentation> | |
| This extension point provides a mechanism for contributing a console page participant. A console page participant is notified of page lifecycle events such as creation, activation, deactivation and disposal. A page participant can also provide adapters for a page. | |
| </documentation> | |
| </annotation> | |
| <include schemaLocation="schema://org.eclipse.core.expressions/schema/expressionLanguage.exsd"/> | |
| <element name="extension"> | |
| <complexType> | |
| <sequence> | |
| <element ref="consolePageParticipant"/> | |
| </sequence> | |
| <attribute name="point" type="string" use="required"> | |
| <annotation> | |
| <documentation> | |
| a fully qualified identifier of the target extension point | |
| </documentation> | |
| </annotation> | |
| </attribute> | |
| <attribute name="id" type="string"> | |
| <annotation> | |
| <documentation> | |
| an optional identifier of the extension instance | |
| </documentation> | |
| </annotation> | |
| </attribute> | |
| <attribute name="name" type="string"> | |
| <annotation> | |
| <documentation> | |
| an optional name of the extension instance | |
| </documentation> | |
| </annotation> | |
| </attribute> | |
| </complexType> | |
| </element> | |
| <element name="consolePageParticipant"> | |
| <complexType> | |
| <sequence> | |
| <element ref="enablement"/> | |
| </sequence> | |
| <attribute name="id" type="string" use="required"> | |
| <annotation> | |
| <documentation> | |
| specifies a unique identifier for this Console Page Participant | |
| </documentation> | |
| </annotation> | |
| </attribute> | |
| <attribute name="class" type="string" use="required"> | |
| <annotation> | |
| <documentation> | |
| specifies a fully qualified name of a Java class that implements <code>IConsolePageParticipant</code> | |
| </documentation> | |
| <appInfo> | |
| <meta.attribute kind="java" basedOn="org.eclipse.ui.console.IConsolePageParticipant"/> | |
| </appInfo> | |
| </annotation> | |
| </attribute> | |
| </complexType> | |
| </element> | |
| <annotation> | |
| <appInfo> | |
| <meta.section type="since"/> | |
| </appInfo> | |
| <documentation> | |
| 3.1 | |
| </documentation> | |
| </annotation> | |
| <annotation> | |
| <appInfo> | |
| <meta.section type="examples"/> | |
| </appInfo> | |
| <documentation> | |
| The following is an example of a console page participant extension point: | |
| <pre> | |
| <extension | |
| point="org.eclipse.ui.console.consolePageParticipants"> | |
| <consolePageParticipant | |
| class="com.example.ExamplePageParticipant" | |
| id="com.example.ExamplePageParticipant"> | |
| <enablement> | |
| <instanceof value="com.example.ExampleConsole"/> | |
| </enablement> | |
| </consolePageParticipant> | |
| </extension> | |
| </pre> | |
| In the above example, the contributed console page participant will be used for all consoles of type "com.example.ExampleConsole." | |
| </documentation> | |
| </annotation> | |
| <annotation> | |
| <appInfo> | |
| <meta.section type="apiInfo"/> | |
| </appInfo> | |
| <documentation> | |
| Value of the attribute <b>class</b> must be a fully qualified name of a Java class that implements the interface <b>org.eclipse.ui.console.IConsolePageParticipant</b>. | |
| </documentation> | |
| </annotation> | |
| <annotation> | |
| <appInfo> | |
| <meta.section type="copyright"/> | |
| </appInfo> | |
| <documentation> | |
| Copyright (c) 2000, 2005 IBM Corporation and others.<br> | |
| 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 | |
| <a href="https://www.eclipse.org/legal/epl-2.0">https://www.eclipse.org/legal/epl-v20.html</a>/ | |
| SPDX-License-Identifier: EPL-2.0 | |
| </documentation> | |
| </annotation> | |
| </schema> |