Console Color Providers

Identifier: org.eclipse.debug.ui.consoleColorProviders

Since: 2.1

Description: This extension point provides a mechanism for contributing a console document coloring scheme for a process. The color provider will be used to color output in the console.

Configuration Markup:

   <!ELEMENT extension (consoleColorProvider*)>

   <!ATTLIST extension
     point CDATA #REQUIRED
     id    CDATA #IMPLIED
     name  CDATA #IMPLIED
   >

   <!ELEMENT consoleColorProvider EMPTY>

   <!ATTLIST consoleColorProvider
     id          CDATA #REQUIRED
     class       CDATA #REQUIRED
     processType CDATA #REQUIRED
   >

Examples: The following is an example of a console color provider extension point:

<extension point="org.eclipse.debug.ui.consoleColorProviders">
  <consoleColorProvider 
     id="com.example.ExampleConsoleColorProvider"
     class="com.example.ExampleConsoleColorProvider"
     processType="ExampleProcessType">
  </consoleColorProvider>
</extension>
In the above example, the contributed color provider will be used for processes of type "ExampleProcessType", which corresponds to the process attribute IProcess.ATTR_PROCESS_TYPE. Process types are client defined, and are set by clients that create processes.

API Information: Value of the attribute class must be a fully qualified name of a Java class that implements the interface org.eclipse.debug.ui.console.IConsoleColorProvider.

Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved.