Iliad
Painting Plugin for UnrealEngine4 by Praxinos
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
SOdysseyLayerStackTreeView Class Reference
Inheritance diagram for SOdysseyLayerStackTreeView:

Public Member Functions

TSharedPtr< FOdysseyLayerStackTreeGetNodeTree ()
 
SVerticalBox::FSlot *& GetPropertyView ()
 
TSharedPtr< IOdysseyBaseLayerNodeGetSelectedNode ()
 
void OnSelectionChanged (TSharedPtr< IOdysseyBaseLayerNode > iSelectedNode, ESelectInfo::Type iSeletionInfo=ESelectInfo::Type::Direct)
 
void Refresh (int iOverrideNewSelectedNodeIndex=-1)
 

Public Attributes

 SOdysseyLayerStackTreeView
 

Protected Member Functions

TSharedRef< SWidget > GenerateWidgetForColumn (const IOdysseyBaseLayerNodeRef &iNode, const FName &iColumnId, const TSharedRef< SOdysseyLayerStackViewRow > &iRow) const
 
TSharedPtr< SWidget > OnContextMenuOpening ()
 
TSharedRef< ITableRow > OnGenerateRow (IOdysseyBaseLayerNodeRef iDisplayNode, const TSharedRef< STableViewBase > &iOwnerTable)
 
void OnGetChildren (IOdysseyBaseLayerNodeRef iParent, TArray< IOdysseyBaseLayerNodeRef > &oChildren) const
 
void SetupColumns (const FArguments &InArgs)
 

Detailed Description

Implements the GUI for the layer Stack

Member Function Documentation

◆ GenerateWidgetForColumn()

TSharedRef< SWidget > SOdysseyLayerStackTreeView::GenerateWidgetForColumn ( const IOdysseyBaseLayerNodeRef iNode,
const FName &  iColumnId,
const TSharedRef< SOdysseyLayerStackViewRow > &  iRow 
) const
protected

Generate a widget for the specified Node and Column

◆ GetNodeTree()

TSharedPtr<FOdysseyLayerStackTree> SOdysseyLayerStackTreeView::GetNodeTree ( )
inline

Access the underlying tree data

◆ GetPropertyView()

SVerticalBox::FSlot *& SOdysseyLayerStackTreeView::GetPropertyView ( )

◆ GetSelectedNode()

TSharedPtr< IOdysseyBaseLayerNode > SOdysseyLayerStackTreeView::GetSelectedNode ( )

◆ OnContextMenuOpening()

TSharedPtr< SWidget > SOdysseyLayerStackTreeView::OnContextMenuOpening ( )
protected

Handles the context menu opening when right clicking on the tree view.

◆ OnGenerateRow()

TSharedRef< ITableRow > SOdysseyLayerStackTreeView::OnGenerateRow ( IOdysseyBaseLayerNodeRef  iDisplayNode,
const TSharedRef< STableViewBase > &  iOwnerTable 
)
protected

Generate a row for a particular node

◆ OnGetChildren()

void SOdysseyLayerStackTreeView::OnGetChildren ( IOdysseyBaseLayerNodeRef  iParent,
TArray< IOdysseyBaseLayerNodeRef > &  oChildren 
) const
protected

Gather the children from the specified node

◆ OnSelectionChanged()

void SOdysseyLayerStackTreeView::OnSelectionChanged ( TSharedPtr< IOdysseyBaseLayerNode iSelectedNode,
ESelectInfo::Type  iSeletionInfo = ESelectInfo::Type::Direct 
)

Handles a change of selected layer in the layer stack

◆ Refresh()

void SOdysseyLayerStackTreeView::Refresh ( int  iOverrideNewSelectedNodeIndex = -1)

Refresh this tree as a result of the underlying tree data changing

◆ SetupColumns()

void SOdysseyLayerStackTreeView::SetupColumns ( const FArguments &  InArgs)
protected

Populate the map of column definitions, and add relevant columns to the header row

Member Data Documentation

◆ SOdysseyLayerStackTreeView

SOdysseyLayerStackTreeView::SOdysseyLayerStackTreeView
Initial value:
{}
void Construct(const FArguments& InArgs)