| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
| "http://www.w3.org/TR/html4/loose.dtd"> |
| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| <script language="JavaScript" type="text/javascript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script> |
| <title>Fragment Project</title> |
| <link href="../../book.css" rel="stylesheet" type="text/css"> |
| <style type="text/css"> |
| <!-- |
| .style1 { |
| font-size: 18px; |
| font-weight: bold; |
| } |
| --> |
| </style> |
| </head> |
| |
| <body> |
| <p class="style1">Fragment Project</p> |
| <p>The <strong>New Fragment Project</strong> creation wizard is available under <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.newWizard(newWizardId=org.eclipse.pde.ui.NewFragmentWizard)")'> |
| <img src="PLUGINS_ROOT/org.eclipse.help/command_link.png"><strong>File > New > Project... > Plug-in Development > Fragment Project</strong></a> |
| from the top level menu.</p> |
| <p>The creation of a fragment project is a two-step process:</p> |
| <ol> |
| <li><a href="fragment_structure.htm">Define the fragment project structure</a></li> |
| <li><a href="fragment_content.htm">Specify the fragment content</a></li> |
| </ol> |
| <p> </p> |
| <p>When a new fragment project is created, its manifest file will open in the PDE plug-in manifest editor and the project structure will be similar to the following:</p> |
| <p><img src="../../images/new_wizards/fragment_explorer.PNG" alt="Fragment Explorer" hspace="30"> </p> |
| <p>If the fragment contributes extensions or extension points, the fragment project will have a <em>fragment.xml</em> file at its root.</p> |
| <p> </p> |
| <p> </p> |
| </body> |
| </html> |