Console Color Providers

org.eclipse.debug.ui.consoleColorProviders

2.1

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.

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


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.

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.