<!ELEMENT extension (consoleLineTracker*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT consoleLineTracker EMPTY>
<!ATTLIST consoleLineTracker
id CDATA #REQUIRED
class CDATA #REQUIRED
processType CDATA #REQUIRED>
IConsoleLineTracker
.IProcess.ATTR_PROCESS_TYPE
.I eksempelet ovenfor blir den oppgitte linjesporingen varslet når det legges til linjer i konsollen for 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.consoleLineTrackers"
>
<consoleLineTracker id=
"com.example.ExampleConsoleLineTracker"
class=
"com.example.ExampleConsoleLineTracker"
processType=
"ExampleProcessType"
>
</consoleLineTracker>
</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