<!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) >
ITargetLocationFactory
. Used to create new instances of this target location.targetLocations
extension:
<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>In the example above, the name and id of the target are declared in the plugin.xml, but the factory
org.eclipse.pde.core.CustomLocationFactory
to create the target location comes from the contributing plug-in.
IWizardNode
: Provides a IWizardNode object to supply a wizard for creating new locations of this type
ILabelProvider
: Provides label text and image for the location implementation in the UI
For more information, consult ITargetLocation
Copyright (c) 2011 IBM Corporation and others.
This program and the accompanying materials are made
available under the terms of the Eclipse Public License 2.0 which
accompanies this distribution, and is available at
https://www.eclipse.org/legal/epl-v20.html/
SPDX-License-Identifier: EPL-2.0.