public interface AddOnModel extends ro.fortsoft.pf4j.ExtensionPoint, Identifiable
Modifier and Type | Method and Description |
---|---|
ro.fortsoft.pf4j.PluginWrapper |
getPlugin()
gets the associated Plugin.
|
void |
initAddOn(Context context)
Internal initiation of addOn - fake constructor, comes before prepare
|
void |
register()
use this method to register your Modules.
|
void |
setPlugin(ro.fortsoft.pf4j.PluginWrapper plugin)
sets the Plugin IF it is not already set.
|
getID, isOwner
void initAddOn(Context context)
context
- the context to initialize withvoid register()
It will time out after 3 seconds!
ro.fortsoft.pf4j.PluginWrapper getPlugin()
void setPlugin(ro.fortsoft.pf4j.PluginWrapper plugin)
plugin
- the pluginCopyright © 2016. All rights reserved.