<!ELEMENT extension (targetLocation)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED
><!ELEMENT targetLocation EMPTY>
<!ATTLIST targetLocation
type CDATA #REQUIRED
locationFactory CDATA #IMPLIED
canUpdate (true | false)
>targetLocations-utökningen:
<extension id="org.eclipse.pde.core.customlocation" name="Custom Location" point="org.eclipse.pde.core.targetLocations"> <targetLocation locationFactory="org.eclipse.pde.core.CustomLocationFactory" type="CustomLocation"> </targetLocation> </extension>I exemplet ovan deklareras namn och ID för målet i plugin.xml, men fabriken
org.eclipse.pde.core.CustomLocationFactory som används för att skapa målplatsen kommer från det bidragande insticksprogrammet.
IWizardNode: tillhandahåller ett IWizardNode-objekt till en guide som skapar nya platser av denna typ
ILabelProvider: tillhandahåller etikettext och bild för platsimplementation i användargränssnittet
Mer information finns i ITargetLocation
Copyright (c) 2011 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.