AssetManagerSubDialogInterface Class Reference

#include <assetmanagerinterface.h>

Inheritance diagram for AssetManagerSubDialogInterface:

Public Member Functions

MAXON_METHOD SubDialogGet ()
 
MAXON_METHOD Result< void > SetNewGraphNode (const GraphModelPresenterRef &presenter, const nodes::NodesGraphModelRef &model, const GraphNode &node)
 
MAXON_METHOD Result< void > SetMasterFilter (MASTERFILTER filter)
 
MAXON_METHOD Result< void > ForceHideFilterTab (Bool hide)
 

Private Member Functions

 MAXON_INTERFACE (AssetManagerSubDialogInterface, MAXON_REFERENCE_NORMAL, "net.maxon.mvp.assetmanager.subdialog.interface")
 

Member Function Documentation

◆ MAXON_INTERFACE()

MAXON_INTERFACE ( AssetManagerSubDialogInterface  ,
MAXON_REFERENCE_NORMAL  ,
"net.maxon.mvp.assetmanager.subdialog.interface"   
)
private

◆ Get()

Get() returns the subdialog to embed into your own dialog.

◆ SetNewGraphNode()

MAXON_METHOD Result<void> SetNewGraphNode ( const GraphModelPresenterRef &  presenter,
const nodes::NodesGraphModelRef &  model,
const GraphNode node 
)

SetNewGraphNode sets the current selected presenter, model and node. Depending on this values the asset browser swithces to the right context.

Parameters
[in]presenterPresenter to set.
[in]modelModel to set.
[in]nodeNode to set.
Returns
OK on success.

◆ SetMasterFilter()

MAXON_METHOD Result<void> SetMasterFilter ( MASTERFILTER  filter)

SetMasterFilter allows to set the filter for the asset browser.

Parameters
[in]filterSee MASTERFILTER.
Returns
OK on success.

◆ ForceHideFilterTab()

MAXON_METHOD Result<void> ForceHideFilterTab ( Bool  hide)

ForceHideFilterTab allows to control the visibility of filter tab.

Parameters
[in]hideTrue to disable filter tab.
Returns
OK on success.