<!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-utvidelsen:
<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 eksempelet over er navn og ID for målet deklarert i plugin.xml, men factoryen
org.eclipse.pde.core.CustomLocationFactory for å opprette målplasseringen kommer fra bidragsytende plugin-modul.
IWizardNode: Har et IWizardNode-objekt for å forsyne en veiviser for å opprette nye plasseringer av denne typen
ILabelProvider: Har etikettekst og -bilde for plasseringens implementering i brukergrensesnittet
Ta kontakt med ITargetLocation hvis du vil ha flere opplysninger.
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.