# Console Page Participants

###### Identifier:

org.eclipse.ui.console.consolePageParticipants

###### Since:

3.1

###### Description:

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.

###### Configuration Markup:

<!ELEMENT extension (consolePageParticipant)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED>

- point - a fully qualified identifier of the target extension point
- id - an optional identifier of the extension instance
- name - an optional name of the extension instance

<!ELEMENT consolePageParticipant (enablement)>

<!ATTLIST consolePageParticipant

id CDATA #REQUIRED

class CDATA #REQUIRED>

- id - specifies a unique identifier for this Console Page Participant
- class - specifies a fully qualified name of a Java class that implements `IConsolePageParticipant`

###### Examples:

The following is an example of a console page participant extension point:

       <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>

In the above example, the contributed console page participant will be used for all consoles of type "com.example.ExampleConsole."

###### API Information:

Value of the attribute class must be a fully qualified name of a Java class that implements the interface org.eclipse.ui.console.IConsolePageParticipant.

Copyright (c) 2000, 2005 IBM Corporation and others.
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-v20.html/ SPDX-License-Identifier: EPL-2.0