Package com.morpheusdata.core.providers
Interface SystemTabProvider
- All Superinterfaces:
PluginProvider,UIExtensionProvider
- All Known Implementing Classes:
AbstractSystemTabProvider
Renders tabs within a System in Morpheus.
Intended for displaying additional System-specific information. To keep UI responsive,
implementors should render a lightweight shell and load heavier content dynamically via
an endpoint (ajax/fetch) if needed.
- Since:
- 1.4.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.morpheusdata.core.providers.PluginProvider
PluginProvider.ConfigurationDriftCheckFacet<T>, PluginProvider.EventSubscriberFacet<E extends Event>, PluginProvider.UpdateFacet<T> -
Method Summary
Methods inherited from interface com.morpheusdata.core.providers.PluginProvider
getMorpheus, getPluginMethods inherited from interface com.morpheusdata.core.providers.UIExtensionProvider
getContentSecurityPolicy, getRenderer
-
Method Details
-
getCode
String getCode()stable id used by UI + endpoints- Specified by:
getCodein interfacePluginProvider- Returns:
- short code string that should be unique across all other plugin implementations.
-
getName
String getName()label shown in the UI- Specified by:
getNamein interfacePluginProvider- Returns:
- either an English name of a Provider or an i18n based key that can be scanned for in a properties file.
-
getOrder
sort order -
renderTemplate
-
show
Provide logic when tab should be displayed. This logic is checked after permissions are validated.- Parameters:
system- System detailsuser- current User detailsaccount- Account details- Returns:
- whether the tab should be displayed
-