Model Enumeration pluglet sample

A pluglet source file is no different from any other Java source file. Pluglet writers can specify what Eclipse plug-ins their pluglets require and this controls their class path, both at compile and at run time.

You can create pluglets to handle routine tasks and pluglet functionality offers you an easy way to explore and learn the application programming interfaces (APIs) offered by the workbench platform and other product extensions. From a workbench perspective your can write the statement Platform.getWorkbench() and gain completed access to the entire workbench and its parts. From a modeling perspective, the UMLModeler class allows you access to a model and its contents. For example, this pluglet sample lists the contents of a selected class in a model.

You need to follow the setup instructions before importing or starting to work with the new pluglet.


Time icon    Import and configure: 15 minutes
Setup icon    Setup instructions
Import icon    Import the sample
Demo icon    See a demonstration
See tutorial icon    See a related tutorial