| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
| <HTML>
|
| <HEAD><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
| <title>Factory Component Content Wizards</title>
|
| <style type="text/css">@import url("../../book.css");</style>
|
| <style type="text/css">@import url("../../schema.css");</style>
|
| </HEAD>
|
| <BODY>
|
| <H1 style="text-align:center">Factory Component Content Wizards</H1>
|
| <p></p>
|
| <h6 class="CaptionFigColumn SchemaHeader">Identifier: </h6>org.eclipse.egf.pde.factoryComponentContent<p></p>
|
| <h6 class="CaptionFigColumn SchemaHeader">Description: </h6>This extension point provides for contributing wizards that create additional content of the EGF PDE Factory Component |
| projects. After the plug-in manifest and key files have been |
| created, these wizards can be used to add more files and |
| extensions to the initial structure. A typical implementation |
| of this wizard would add content based on a parametrized |
| template customized based on the user choices in the wizard. |
| The goal is to arrive at an asset that is does something |
| useful right after the creation.<p></p>
|
| <h6 class="CaptionFigColumn SchemaHeader">Configuration Markup:</h6>
|
| <p></p>
|
| <p class="code SchemaDtd"><!ELEMENT <a name="e.extension">extension</a> (<a href="#e.wizard">wizard</a>*)></p>
|
| <p class="code SchemaDtd"><!ATTLIST extension</p>
|
| <p class="code SchemaDtdAttlist">point CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">id CDATA #IMPLIED</p><p class="code SchemaDtdAttlist">name CDATA #IMPLIED</p>></p>
|
| <p></p>
|
| <ul class="ConfigMarkupAttlistDesc">
|
| <li><b>point</b> - a fully qualified identifier of the target extension point</li>
|
| <li><b>id</b> - an optional identifier of the extension instance</li>
|
| <li><b>name</b> - an optional name of the extension instance</li>
|
| </ul>
|
| <br><p class="code SchemaDtd"><!ELEMENT <a name="e.wizard">wizard</a> (<a href="#e.description">description</a>?)></p>
|
| <p class="code SchemaDtd"><!ATTLIST wizard</p>
|
| <p class="code SchemaDtdAttlist">id CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">name CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">icon CDATA #IMPLIED</p><p class="code SchemaDtdAttlist">class CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">category CDATA #IMPLIED</p><p class="code SchemaDtdAttlist">ui-content (true | false) "true"</p><p class="code SchemaDtdAttlist">java (true | false) "true"</p><p class="code SchemaDtdAttlist">requiresActivator (true | false) "false"</p>></p>
|
| <p></p>
|
| <ul class="ConfigMarkupAttlistDesc">
|
| <li><b>id</b> - a unique name that will be used to identify this wizard.</li>
|
| <li><b>name</b> - a translatable name that will be used in UI representation |
| of this wizard.</li>
|
| <li><b>icon</b> - a relative path of an icon that will be used to visually |
| represent the wizard.</li>
|
| <li><b>class</b> - a fully qualified name of a class which implements |
| <samp>org.eclipse.pde.ui.IPluginContentWizard</samp>.</li>
|
| <li><b>category</b> - an optional tag that can be used to associate content wizards with different target projects.</li>
|
| <li><b>ui-content</b> - a flag that indicates if the wizard will contribute code with user interface content. This flag will affect which plug-in class will be picked since (UI plug-ins extend <code>AbstractUIPlugin</code> class, while non-UI plug-ins extends <code>Plugin</code> base class). Since many contributions to Eclipse have UI content, this attribute is <code>true</code> by default.</li>
|
| <li><b>java</b> - a flag that indicates that the wizard will contribute Java content. Since most of the Eclipse plug-ins have Java code, the attribute is <code>true</code> by default. Set it to <code>false</code> if the plug-in will not have Java code (for example, documentation files only).</li>
|
| <li><b>requiresActivator</b> - Since 3.2. A boolean flag indicating whether the wizard contributes an activator class. If set to <code>true</code>, the wizard will appear in the New Plug-in Project wizard only when the user chooses to generate an activator to control the plug-in life cycle.</li>
|
| </ul>
|
| <br><p class="code SchemaDtd"><!ELEMENT <a name="e.description">description</a> (#PCDATA)></p>
|
| <p></p>
|
| <p class="ConfigMarkupElementDesc">
|
| Short description of this wizard.</p>
|
| <br><br>
|
| <h6 class="CaptionFigColumn SchemaHeader">Examples: </h6>The following is an example of this extension point: |
| <pre class="Example"><span class="code SchemaTag"> |
| <extension point=</span><span class="code SchemaCstring">"org.eclipse.egf.pde.factoryComponentContent"</span><span class="code SchemaTag">> |
| <wizard |
| name=</span><span class="code SchemaCstring">"Example Plug-in Content Generator"</span><span class="code SchemaTag"> |
| icon=</span><span class="code SchemaCstring">"icons/content_wizard.gif"</span><span class="code SchemaTag"> |
| class=</span><span class="code SchemaCstring">"com.example.xyz.ContentGeneratorWizard"</span><span class="code SchemaTag"> |
| id=</span><span class="code SchemaCstring">"com.example.xyz.ExampleContentGenerator"</span><span class="code SchemaTag">> |
| <description> |
| Create an asset that depends on the JavaBundle Asset. |
| </description> |
| </wizard> |
| </extension> |
| </span></pre>
|
| <p></p>
|
|
|
| <h6 class="CaptionFigColumn SchemaHeader">Supplied Implementation: </h6>MDsoFa PDE provides APIs for contributing content wizards based on customizable templates.
|
| <p></p>
|
|
|
| <br>
|
| <p class="note SchemaCopyright">
|
| /** |
| * Copyright (c) THALES, 2007. All rights reserved. |
| */
|
|
|
| </p>
|
| </BODY>
|
| </HTML>
|