Navigation
API > API/Editor > API/Editor/ContentBrowser
Interface that can be used to add a custom view to the Content Browser NOTE: This API is likely to change as it is being actively iterated on
| Name | IContentBrowserViewExtender |
| Type | class |
| Header File | /Engine/Source/Editor/ContentBrowser/Public/Experimental/ContentBrowserViewExtender.h |
| Include Path | #include "Experimental/ContentBrowserViewExtender.h" |
Syntax
class IContentBrowserViewExtender
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IContentBrowserViewExtender() |
Experimental/ContentBrowserViewExtender.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnItemScrolledIntoView | TSlateDelegates< TSharedPtr< FAssetViewItem > >::FOnItemScrolledIntoView | Experimental/ContentBrowserViewExtender.h | |
| FOnMouseButtonClick | TSlateDelegates< TSharedPtr< FAssetViewItem > >::FOnMouseButtonClick | Experimental/ContentBrowserViewExtender.h | |
| FOnSelectionChanged | TSlateDelegates< TSharedPtr< FAssetViewItem > >::FOnSelectionChanged | Experimental/ContentBrowserViewExtender.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ClearSelection() |
Clear the current selection in the view. | Experimental/ContentBrowserViewExtender.h | |
TSharedRef< SWidget > CreateView
(
TArray< TSharedPtr< FAssetViewItem > >* InItemsSource |
Create the widget for the view with the given input items. | Experimental/ContentBrowserViewExtender.h | |
void FocusList() |
Transfer focus to the internal view widget. | Experimental/ContentBrowserViewExtender.h | |
TArray< TSharedPtr< FAssetViewItem > > GetSelectedItems() |
Get the items selected by the custom view. | Experimental/ContentBrowserViewExtender.h | |
FText GetViewDisplayName() |
Get a display name for the view used in the Settings menu. | Experimental/ContentBrowserViewExtender.h | |
FText GetViewTooltipText() |
Get a tooltip for the custom view. | Experimental/ContentBrowserViewExtender.h | |
bool IsRightClickScrolling() |
True if the view is currently right click scrolling | Experimental/ContentBrowserViewExtender.h | |
FOnContextMenuOpening & OnContextMenuOpened() |
Delegate the extender must fire when the context menu is opened on the list. | Experimental/ContentBrowserViewExtender.h | |
FOnMouseButtonClick & OnItemDoubleClicked() |
Delegate the extender must fire when an item is double clicked. | Experimental/ContentBrowserViewExtender.h | |
void OnItemListChanged
(
TArray< TSharedPtr< FAssetViewItem > >* InItemsSource |
Function called when the items source has some changes and the view needs a refresh. | Experimental/ContentBrowserViewExtender.h | |
FOnItemScrolledIntoView & OnItemScrolledIntoView() |
Delegate the extender must fire when an item is scrolled into view in the UI. | Experimental/ContentBrowserViewExtender.h | |
FOnSelectionChanged & OnSelectionChanged() |
Delegate the extender must fire when the selection in the UI changes. | Experimental/ContentBrowserViewExtender.h | |
void RequestScrollIntoView
(
const TSharedPtr< FAssetViewItem >& Item |
Scroll the given item into view. | Experimental/ContentBrowserViewExtender.h | |
void SetSelection
(
const TSharedPtr< FAssetViewItem >& Item, |
Select the given item in the view. | Experimental/ContentBrowserViewExtender.h |