You can use pluglets to list the contents of a selected class in
a model or calculate the fan-in metric for a class.
You can use pluglets to handle routine tasks, and the pluglet functionality
offers you an easy way to explore and learn the API offered by the workbench
platform and other product extensions. The pluglet can be tested
in the same instance of the workbench just like any other Java application.
Pluglet authors can use the Java development environment, and they have access
to the application programming interfaces (APIs) of the workbench plug-ins
to extend and implement the existing pluglets. From a workbench perspective
your can write the statement Platform.getWorkbench() and gain complete access
to the entire workbench and its parts. From a modeling perspective, the UMLModeler
class allows you access to a model and its contents.
Lessons learned
By completing this tutorial,
you learned about the following concepts and tasks:
- Set up the pluglet development environment
- Create pluglet projects
- Create a pluglet
- Run a pluglet
Additional resources
If you want to learn more
about the topics covered in this tutorial, consider the following sources:
- Extending your Java environment with pluglets
- Pluglets API