Interface Section.TabBuilder
- Enclosing interface:
- Section
public static interface Section.TabBuilder
-
Method Summary
Modifier and TypeMethodDescriptionaddAssociatedResourceType
(ResourceType resourceType) If this tab contains items that are resources that have aResourceTypeMeta
, invoke this to let these items be found via the gateway's search functionality.build()
customHeader
(Boolean hasCustomHeader) enabled
(Predicate<GatewayContext> enabled) A context-aware predicate function to determine if this tab is enabled.mount
(String url, WebUiComponent component) default Section.TabBuilder
default Section.TabBuilder
mount
(String url, String componentId, SystemJsModule module) position
(int position) searchDelegate
(ItemSearchDelegate searchDelegate) Add a custom search delegate that can be used to search for items that reside on this tab.
-
Method Details
-
mount
-
mount
-
searchDelegate
Add a custom search delegate that can be used to search for items that reside on this tab. If your tab contains items that are resources that have aResourceTypeMeta
, you should useaddAssociatedResourceType(ResourceType)
instead. -
addAssociatedResourceType
If this tab contains items that are resources that have aResourceTypeMeta
, invoke this to let these items be found via the gateway's search functionality.May be invoked multiple times to associate multiple resource types with this tab.
-
position
-
customHeader
-
enabled
A context-aware predicate function to determine if this tab is enabled. When not enabled, the tab will not be included in the navigation model. -
build
Section.PageBuilder build()
-