@OpenApiAll
public abstract class Plugin
extends java.lang.Object
Constructor and Description |
---|
Plugin() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
close()
MagicDraw calls this method before exiting the application.
|
PluginDescriptor |
getDescriptor()
Returns plugin descriptor.
|
abstract void |
init()
Plugin initialization method.
|
abstract boolean |
isSupported()
MagicDraw calls this method to identify if this plugin is supported.
|
(package private) void |
setDescriptor(PluginDescriptor descriptor)
Sets plugin descriptor.
|
public PluginDescriptor getDescriptor()
void setDescriptor(PluginDescriptor descriptor)
descriptor
- the plugin descriptor.public abstract void init()
public abstract boolean close()
public abstract boolean isSupported()
true
.
Override this method to check specific conditions for the plugin supportability.