Package io.jmix.messagetemplatesflowui
Class GrapesJsPluginRegistryImpl
java.lang.Object
io.jmix.messagetemplatesflowui.GrapesJsPluginRegistryImpl
- All Implemented Interfaces:
GrapesJsPluginRegistry
@Component("msgtmp_GrapesJsPluginRegistryImpl")
public class GrapesJsPluginRegistryImpl
extends Object
implements GrapesJsPluginRegistry
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends GrapesJsPlugin>
TGets plugin instance by its unique name.<T extends GrapesJsPlugin>
TGets plugin instance by its unique name.<T extends GrapesJsPlugin>
voidRegisters a plugin instance in the registry.
-
Field Details
-
pluginByName
-
-
Constructor Details
-
GrapesJsPluginRegistryImpl
-
-
Method Details
-
get
Description copied from interface:GrapesJsPluginRegistry
Gets plugin instance by its unique name.- Specified by:
get
in interfaceGrapesJsPluginRegistry
- Type Parameters:
T
- type of the plugin- Parameters:
name
- name of the plugin- Returns:
- plugin instance
-
find
Description copied from interface:GrapesJsPluginRegistry
Gets plugin instance by its unique name.- Specified by:
find
in interfaceGrapesJsPluginRegistry
- Type Parameters:
T
- type of the plugin- Parameters:
name
- name of the plugin- Returns:
- plugin instance or
null
if not found
-
register
Description copied from interface:GrapesJsPluginRegistry
Registers a plugin instance in the registry.- Specified by:
register
in interfaceGrapesJsPluginRegistry
- Type Parameters:
T
- type of the plugin- Parameters:
plugin
- plugin to registername
- unique registration name
-