Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HEAD><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Target Location Provisioners</title>
<style type="text/css">@import url("../../book.css");</style>
<style type="text/css">@import url("../../schema.css");</style>
<H1 style="text-align:center">Target Location Provisioners</H1>
<h6 class="CaptionFigColumn SchemaHeader">Identifier: </h6>org.eclipse.pde.ui.targetLocationProvisioners<p></p>
<h6 class="CaptionFigColumn SchemaHeader">Since: </h6>3.8

<h6 class="CaptionFigColumn SchemaHeader">Description: </h6><p>
This extension point is used to register a target location provisioner wizard that will create new target locations. Each plug-in provisioner is listed when the user attempts to add plug-ins to a target definition from the Target Platform Preference Page or Target Editor.  The selected provisioner is responsible for providing the target location or locations to add to the target definition.
Clients can provide their own target location implementations through the <code>org.eclipse.pde.core.targetLocations</code> extension point.  This extension point allows custom location implementations to be added by the user. Additional UI interaction is handled using the adapter framework (see documentation on <code></code>).
<h6 class="CaptionFigColumn SchemaHeader">Configuration Markup:</h6>
<p class="code SchemaDtd">&lt;!ELEMENT <a name="e.extension">extension</a> (<a href="#e.locationProvider">locationProvider</a>+)&gt;</p>
<p class="code SchemaDtd">&lt;!ATTLIST extension</p>
<p class="code SchemaDtdAttlist">point&nbsp;CDATA #REQUIRED</p>
<p class="code SchemaDtdAttlist">id&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED</p>
<p class="code SchemaDtdAttlist">name&nbsp;&nbsp;CDATA #IMPLIED&gt;</p>
<ul class="ConfigMarkupAttlistDesc">
<br><p class="code SchemaDtd">&lt;!ELEMENT <a name="e.locationProvider">locationProvider</a> (<a href="#e.description">description</a>?)&gt;</p>
<p class="code SchemaDtd">&lt;!ATTLIST locationProvider</p>
<p class="code SchemaDtdAttlist">id&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED</p>
<p class="code SchemaDtdAttlist">name&nbsp;&nbsp;CDATA #REQUIRED</p>
<p class="code SchemaDtdAttlist">icon&nbsp;&nbsp;CDATA #IMPLIED</p>
<p class="code SchemaDtdAttlist">class&nbsp;CDATA #REQUIRED&gt;</p>
<ul class="ConfigMarkupAttlistDesc">
<li><b>id</b> - a unique identifier of the provisioner</li>
<li><b>name</b> - human readable name of the provisioner</li>
<li><b>icon</b> - a relative path of an icon that will be used to visually 
represent the provisioner.</li>
<li><b>class</b> - a class that provides a wizard for the user to add content to the target.  The value of this attribute is the fully qualified name of the Java class that implements <code></code>.</li>
<br><p class="code SchemaDtd">&lt;!ELEMENT <a name="e.description">description</a> (#PCDATA)&gt;</p>
<p class="ConfigMarkupElementDesc">
human-readable description of the provisioner</p>
<h6 class="CaptionFigColumn SchemaHeader">Examples: </h6><p>
The following is an example of the extension point:
<pre class="Example"><span class="code SchemaTag">
         point=</span><span class="code SchemaCstring">&quot;org.eclipse.pde.ui.targetLocationProvisioners&quot;</span><span class="code SchemaTag">&gt;
            class=</span><span class="code SchemaCstring">&quot;org.eclipse.example.exampleTargetWizard&quot;</span><span class="code SchemaTag">
            icon=</span><span class="code SchemaCstring">&quot;icons/obj16/exampleTargetLocation.png&quot;</span><span class="code SchemaTag">
            id=</span><span class="code SchemaCstring">&quot;org.eclipse.example.exampleTargetProvisioner&quot;</span><span class="code SchemaTag">
            name=</span><span class="code SchemaCstring">&quot;;</span><span class="code SchemaTag">

<h6 class="CaptionFigColumn SchemaHeader">API Information: </h6>The wizard contributed by this extension point must implement <code></code>.

<h6 class="CaptionFigColumn SchemaHeader">Supplied Implementation: </h6><p>
PDE supplies an internal location provisioner implementation to add plug-ins from update sites and p2 repositories. See <code></code>.

<p class="note SchemaCopyright">
Copyright (c) 2011, 2014 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 
<a href=""></a>.

New to GrepCode? Check out our FAQ X