<!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)>
- tämän kohteen luettavissa oleva kuvaus
targets
:
Edellisen esimerkin kohteen nimi ja tunnus on esitelty tiedostossa plugin.xml, mutta sen sisältö tallennetaan sisältöä lisäävään lisäosaan osoitteeseen<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
on kaksi laajennusta.
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.