<!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
的 Java 類別完整名稱。IProcess.ATTR_PROCESS_TYPE
。在上面範例中,所提供的顏色提供者將用於處理 "ExampleProcessType" 類型,這個類型對應於處理屬性 IProcess.ATTR_PROCESS_TYPE。程序類型是由用戶端定義的,而且是由建立程序的用戶端設定的。<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.
這個程式和檢附的資料是遵循這項分送檢附的 Eclipse Public License 1.0 版的條款而提供的,
請造訪下列網址來取得此條款:http://www.eclipse.org/legal/epl-v10.html