Subelement counter setup instructions

To run the subelement counter sample application, you must import the plug-in into your workspace.

About this task

Install the sample

Procedure

  1. On the subelement counter sample overview page, click Import the sample.
  2. In the wizard, specify the project location for the sample files. The Plug-in Development perspective opens and the Package Explorer view displays a new plug-in project. The plug-in manifest file, plugin.xml, opens in the Plug-in Manifest editor. You can now browse the sample code for the UML Modeler plug-in.

Run the subelement counter sample application

Procedure

  1. Click Run > Run.
  2. To create a new launch configuration, in the Run window, on the left, click Run-time Workbench and then click New. These settings apply when a new instance of the workbench opens.
  3. Click Run. A new instance of the workbench opens.

    This workbench instance is identical to the one that you used to create your plug-in, except that it also contains all the plug-ins that are defined in workspace projects. These plug-ins include the previously installed sample UML Modeler plug-in project.


Feedback