public interface InstanceTabProvider extends PluginProvider
| Modifier and Type | Method and Description |
|---|---|
UIScope |
getContentScope()
Define the scope of this UI element (e.g.
|
ContentSecurityPolicy |
getContentSecurityPolicy()
Add policies for resources loaded from external sources.
|
Renderer<?> |
getRenderer()
Default is Handlebars
|
HTMLResponse |
renderTemplate(Instance instance)
Instance details provided to your rendering engine
|
java.lang.Boolean |
show(Instance instance,
User user,
Account account)
Provide logic when tab should be displayed.
|
getMorpheusContext, getPlugin, getProviderCode, getProviderName, isPluginRenderer<?> getRenderer()
HTMLResponse renderTemplate(Instance instance)
instance - details of an Instancejava.lang.Boolean show(Instance instance, User user, Account account)
instance - Instance detailsuser - current User detailsaccount - Account detailsContentSecurityPolicy getContentSecurityPolicy()
UIScope getContentScope()