com.nomagic.magicdraw.plugins.Plugin is the base abstract class for any modeling tool plugin. A plugin written by a user must be extended from this class. Every plugin has its own descriptor set by a plugin's manager. A plugin has three special methods:
Use com.nomagic.magicdraw.plugins.PluginUtils to get references to loaded plugins. This is useful if you have dependencies among plugins and want to get a reference to other plugin object.
com.nomagic.magicdraw.plugins.PluginDescriptor is the class that provides information loaded from the plugin.xml file (a plugin descriptor) to the plugin. Use com.nomagic.magicdraw.plugins.Plugin.getDescriptor() to get the descriptor.
More information is available in javadoc.