<!ELEMENT extension (target+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT target (description?)>
<!ATTLIST target
id CDATA #REQUIRED
name CDATA #REQUIRED
definition CDATA #REQUIRED>
<!ELEMENT description (#PCDATA)>
このターゲットの、人が読み取れる名前説明
targets 拡張の例です。
上の例では、ターゲットの名前と ID は、plugin.xml 内で宣言されていますが、そのコンテンツは、コントリビュートするプラグイン内にある<extension point =
"org.eclipse.pde.core.targets"
>
<target id=
"org.eclipse.pde.core.rcpTarget"
name=
"Eclipse RCP"
path=
"targets/rcp.target"
/>
</extension>
targets/rcp.target に保管されています。
org.eclipse.pde.core プラグインは 2 つの拡張子を提供します。
Copyright (c) 2006 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.