Package com.morpheusdata.core.providers
Interface ResourceViewUIFacet<T extends MorpheusModel>
- Type Parameters:
T- The type of MorpheusModel this facet applies to
- All Superinterfaces:
PluginProvider
- All Known Subinterfaces:
StorageVolumeResourceViewUIFacet
Provides support for custom detail entries in resource Info sections.
This interface allows plugins to inject custom information into existing
detail views without requiring a full tab implementation.
- Since:
- 1.2.13
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.morpheusdata.core.providers.PluginProvider
PluginProvider.EventSubscriberFacet<E extends Event> -
Method Summary
Modifier and TypeMethodDescriptiongetDetailViewInfo(T model) Get custom details from the plugin to render in the relevant info sectionProvide logic to determine when these details should be displayed.Methods inherited from interface com.morpheusdata.core.providers.PluginProvider
getCode, getMorpheus, getName, getPlugin, isPlugin
-
Method Details
-
getDetailViewInfo
Get custom details from the plugin to render in the relevant info section- Parameters:
model- The model instance to get details for- Returns:
- List of DetailEntry objects to display in the Info section
-
show
Provide logic to determine when these details should be displayed. This logic is checked after permissions are validated.- Parameters:
model- The model instanceuser- Current User detailsaccount- Account details- Returns:
- whether the details should be displayed
-