You can test if your plugin sample works by checking described messages or by checking the magicdraw.log file.
To check messages
To check the magicdraw.log file
After successful startup, the following information should be provided at the end of the magicdraw.log file:
LOAD PLUGINS: com.nomagic.magicdraw.plugins.PluginDescriptor@edf730[ id = my.first.plugin, name = My First Plugin, provider = Coder, version = 1.0, class = myplugin.MyPlugin, requires api = 1.0, runtime = \[Ljava.net.URL;@ff94b1\] (mailto:@ff94b1) INIT PLUGINS: [com.nomagic.magicdraw.plugins.PluginDescriptor@edf730[ id = my.first.plugin, name =|http://Ljava.net.URL/] My First Plugin, provider = Coder, version = 1.0, class = myplugin.MyPlugin, requires api = 1.0, runtime = [Ljava.net.URL;@ff94b1] |
Also all plugins and their statuses are listed in the program EnvironmentOptions dialog, in the Plugins tab.
Looking at the file is the best way to find problems when the plugin does not work. |