<!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>
上の例では、提供された行トラッカーは型 "ExampleProcessType" のプロセスのコンソールに行が追加されることによって通知されます。 これは、プロセス属性 IProcess.ATTR_PROCESS_TYPE に対応しています。 プロセス型はクライアント定義され、そのプロセスを作成するクライアントによって設定されます。<extension point=
"org.eclipse.debug.ui.consoleLineTrackers"
>
<consoleLineTracker id=
"com.example.ExampleConsoleLineTracker"
class=
"com.example.ExampleConsoleLineTracker"
processType=
"ExampleProcessType"
>
</consoleLineTracker>
</extension>
Copyright (c) 2000, 2003 IBM Corporation and others.
All rights reserved.
This program and the accompanying materials are made available under the terms of the Common Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/cpl-v10.html