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

>


<!ELEMENT consolePageParticipant (enablement)>

<!ATTLIST consolePageParticipant

id    CDATA #REQUIRED

class CDATA #REQUIRED

>


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.
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 http://www.eclipse.org/legal/epl-v10.html