Blender  V3.3
Public Attributes | List of all members
blender::ed::outliner::TreeElementOverridesBase Class Referencefinal

#include <tree_element_overrides.hh>

Inheritance diagram for blender::ed::outliner::TreeElementOverridesBase:
blender::ed::outliner::AbstractTreeElement

Public Member Functions

Base Element

Represents an ID that has overridden properties. The expanding will invoke building of tree elements for the full RNA path of the property.

 TreeElementOverridesBase (TreeElement &legacy_te, ID &id)
 
void expand (SpaceOutliner &) const override
 
StringRefNull getWarning () const override
 
- Public Member Functions inherited from blender::ed::outliner::AbstractTreeElement
virtual ~AbstractTreeElement ()=default
 
virtual bool expandPoll (const SpaceOutliner &) const
 
virtual bool isExpandValid () const
 
TreeElementgetLegacyElement ()
 
virtual std::optional< BIFIconIDgetIcon () const
 

Public Attributes

IDid
 

Additional Inherited Members

- Static Public Member Functions inherited from blender::ed::outliner::AbstractTreeElement
static std::unique_ptr< AbstractTreeElementcreateFromType (int type, TreeElement &legacy_te, void *idv)
 
static void uncollapse_by_default (TreeElement *legacy_te)
 
- Protected Member Functions inherited from blender::ed::outliner::AbstractTreeElement
 AbstractTreeElement (TreeElement &legacy_te)
 
- Protected Attributes inherited from blender::ed::outliner::AbstractTreeElement
TreeElementlegacy_te_
 

Detailed Description

Definition at line 35 of file tree_element_overrides.hh.

Constructor & Destructor Documentation

◆ TreeElementOverridesBase()

blender::ed::outliner::TreeElementOverridesBase::TreeElementOverridesBase ( TreeElement legacy_te,
ID id 
)

Member Function Documentation

◆ expand()

void blender::ed::outliner::TreeElementOverridesBase::expand ( SpaceOutliner ) const
overridevirtual

◆ getWarning()

StringRefNull blender::ed::outliner::TreeElementOverridesBase::getWarning ( ) const
overridevirtual

By letting this return a warning message, the tree element will display a warning icon with the message in the tooltip.

Reimplemented from blender::ed::outliner::AbstractTreeElement.

Definition at line 71 of file tree_element_overrides.cc.

References ID_IS_OVERRIDE_LIBRARY_REAL, ID_REAL_USERS, LIB_LIB_OVERRIDE_RESYNC_LEFTOVER, and TIP_.

Member Data Documentation

◆ id

ID& blender::ed::outliner::TreeElementOverridesBase::id

Definition at line 37 of file tree_element_overrides.hh.

Referenced by tree_element_get_icon().


The documentation for this class was generated from the following files: