Modifying the Source Type, Configuration Page, and Finish Action

After you have determined the changes that you want to make to the example import formatter, modify the code that specifies the source type, configuration page and finish action.

Creating a customized import formatter requires knowledge of Java programming.
To modify the source type, configuration page, and finish action: :
  1. In the Eclipse Package Explorer view, expand the Example Importer project and double-click plugin.xml to open the plug-in in the Editor view.
  2. Select the Extensions tab and expand the com.ibm.rational.test.mt.interfaces.importSourceTypes extension.
  3. Click Example Type (sourcetype).
  4. Under Extension Element Details, change the Name field to the source format you want to import, for example, Lotus Notes.
  5. Click com.ibm.rational.test.mt.interfaces.importSourceTypes. This reads the new source type name and displays it in the All Extensions tree view.
  6. Click (configpage) to modify the configuration page and finish action.
  7. Change the source-type text field from Example Type to one of the source type you are using source types provided, Microsoft Excel, Microsoft Word, or TestManager ManualTest.
  8. Change the display-name field to the name of the import formatter you are creating. This name is displayed in the list of source type formatters in the import wizard.
  9. Modify the display-class to define the UI widgets that are displayed on the Manual Tester configuration page.
  10. Change the finish-action-class that is called when the Finish button is clicked
  11. Click File > Save.
Eclipse saves your modifications to the source type, configuration page, and finish action. If these changes are correct, you can build the import formatter Eclipse plug-in.

Parent topic: Creating an Import Formatter

Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.