<!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>
IConsoleColorProvider
.IProcess.ATTR_PROCESS_TYPE
.I eksempelet ovenfor blir den oppgitte fargeleverandøren bruk til prosesser av typen "ExampleProcessType", som tilsvarer prosessattributtet IProcess.ATTR_PROCESS_TYPE. Prosesstyper er klientdefinerte, og de defineres av klienter som oppretter prosesser.<extension point=
"org.eclipse.debug.ui.consoleColorProviders"
>
<consoleColorProvider id=
"com.example.ExampleConsoleColorProvider"
class=
"com.example.ExampleConsoleColorProvider"
processType=
"ExampleProcessType"
>
</consoleColorProvider>
</extension>
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