From 85464385c72e0860a44749c27ebfb07c349c9d18 Mon Sep 17 00:00:00 2001 From: David Dykstal Date: Tue, 26 Jun 2007 22:11:58 +0000 Subject: [PATCH] [194215] adding instructions for creating an empty plugin.xml file to hold the extensions --- .../guide/tutorial/pdeProject.html | 23 +++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/rse/doc/org.eclipse.rse.doc.isv/guide/tutorial/pdeProject.html b/rse/doc/org.eclipse.rse.doc.isv/guide/tutorial/pdeProject.html index 301b4287859..b6373cca02f 100755 --- a/rse/doc/org.eclipse.rse.doc.isv/guide/tutorial/pdeProject.html +++ b/rse/doc/org.eclipse.rse.doc.isv/guide/tutorial/pdeProject.html @@ -30,7 +30,7 @@
  • In the third page of the wizard uncheck the "Create a plug-in using one of the templates" checkbox and click Finish.
  • -
  • Your new plugin project is created and visible in the Package Explorer of the Plug-in Development perspective. Your new plugin.xml file is also open in the plug-in editor.
  • +
  • Your new plugin project is created and visible in the Package Explorer of the Plug-in Development perspective. Your new plugin properties are also open in the plug-in editor.
  • Go to the dependencies tab of the plug-in editor and add the following plugins to the list: -Save the plugin.xml file.
  • + +
  • Now go to the MANIFEST.MF tab of the plugin properties. +This shows the source for the MANIFEST.MF file associated with this plugin. +Change the Bundle-SymbolicName line adding a singleton:=true directive. +
    
    +Bundle-SymbolicName:RSESamples;singleton:=true
    +
    +This allows us to add extensions to the plugin at a later point. +Save the plugin properties and close the editor. +
  • +
  • +Right-click on the RSESamples project and create a plugin.xml file. +Normally this would be created if you used a template to create your plugin. +We will use this file to add extensions to RSE but for now it will just be a skeleton with the following contents: +
    
    +<plugin>
    +</plugin>
    +
    +Add the lines above to the empty plugin.xml file and save it. +
  • Expand the src folder, then the rsesamples package folder, and double-click on RSESamplesPlugin.java to edit this class. Change it as described below. Reference the source here for the details.