Validating selections

You can use the Model Enumeration pluglet to list the contents of a selected class.

To work with the Model enumeration pluglet, you need to:
  1. Import your UML model in your Model Explorer view.
  2. In the Model Explorer, select the Model Enumeration pluglet that you created.
  3. Click Run > Internal Tools > Run As > Pluglet
  4. Select your model element, for example a class.
  5. Click Run > Internal Tools > Model Enumeration.
The pluglet runs, and the model enumeration results are displayed in the Console window.

For a brief demonstration of how the Model Enumeration pluglet works, see the Model Enumeration pluglet sample from the Samples Gallery.

Parent topic: Implementing pluglets

Related concepts
Pluglets

Related tasks
Calculating the fan-in of selected classes

Related reference
Pluglets API

Related information
Tutorial and samples for pluglets

Terms of use | Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.