<?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. The page participant will be able to modify the console's context menu and tool bar. | |
</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.consolePageParticipant"> | |
<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.debug.ui.console.IConsolePageParticipantDelegate</b>. | |
</documentation> | |
</annotation> | |
<annotation> | |
<appInfo> | |
<meta.section type="copyright"/> | |
</appInfo> | |
<documentation> | |
Copyright (c) 2000, 2005 IBM Corporation and others.<br> | |
All rights reserved. This program and the accompanying materials are made | |
available under the terms of the Eclipse Public License v1.0 which | |
accompanies this distribution, and is available at | |
<a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> | |
</documentation> | |
</annotation> | |
</schema> |