public class WidgetExtensionRegistry extends Object
Constructor and Description |
---|
WidgetExtensionRegistry() |
Modifier and Type | Method and Description |
---|---|
<E extends WidgetExtension<E,M>,M extends WidgetExtensionManagement<E,M>> |
registerExtension(E extension)
Add a widget extension to a registered management.
|
<E extends WidgetExtension<E,M>,M extends WidgetExtensionManagement<E,M>> |
removeExtension(E extension)
Remove a previously registered extension from its management.
|
public <E extends WidgetExtension<E,M>,M extends WidgetExtensionManagement<E,M>> void registerExtension(E extension)
E
- the type of the widget extensionM
- the type of the management that handles the widget extension typeextension
- the extension to addpublic <E extends WidgetExtension<E,M>,M extends WidgetExtensionManagement<E,M>> void removeExtension(E extension)
E
- the type of the widget extensionM
- the type of the management that handles the widget extension typeextension
- the extension to removeCopyright © 2019 Communote team. All rights reserved.