<!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
-udvidelsen:
<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 eksemplet ovenfor er målets navn og id erklæret i plugin.xml, men fabrikken
org.eclipse.pde.core.CustomLocationFactory
, der skal oprette målplaceringen, kommer fra den bidragende plugin.
IWizardNode
: Angiver et IWizardNode-objekt, som leverer en guide til oprettelse af nye placeringer af denne type.
ILabelProvider
: Angiver etikettekst og billede til placeringsimplementeringen af brugergrænsefladen.
Du kan finde flere oplysninger under 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.