Blender  V3.3
Public Member Functions | List of all members
blender::ed::outliner::TreeElementIDLibrary Class Referencefinal

#include <tree_element_id_library.hh>

Inheritance diagram for blender::ed::outliner::TreeElementIDLibrary:
blender::ed::outliner::TreeElementID blender::ed::outliner::AbstractTreeElement

Public Member Functions

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

Additional Inherited Members

- Static Public Member Functions inherited from blender::ed::outliner::TreeElementID
static std::unique_ptr< TreeElementIDcreateFromID (TreeElement &legacy_te, ID &id)
 
- 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::TreeElementID
void expand_animation_data (SpaceOutliner &, const AnimData *) const
 
- Protected Member Functions inherited from blender::ed::outliner::AbstractTreeElement
 AbstractTreeElement (TreeElement &legacy_te)
 
virtual void expand (SpaceOutliner &) const
 
- Protected Attributes inherited from blender::ed::outliner::TreeElementID
IDid_
 
- Protected Attributes inherited from blender::ed::outliner::AbstractTreeElement
TreeElementlegacy_te_
 

Detailed Description

Definition at line 15 of file tree_element_id_library.hh.

Constructor & Destructor Documentation

◆ TreeElementIDLibrary()

blender::ed::outliner::TreeElementIDLibrary::TreeElementIDLibrary ( TreeElement legacy_te,
Library library 
)

Definition at line 18 of file tree_element_id_library.cc.

References library, and TreeElement::name.

Member Function Documentation

◆ getWarning()

StringRefNull blender::ed::outliner::TreeElementIDLibrary::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 29 of file tree_element_id_library.cc.

References blender::ed::outliner::TreeElementID::id_, LIB_TAG_MISSING, library, LIBRARY_TAG_RESYNC_REQUIRED, and TIP_.

◆ isExpandValid()

bool blender::ed::outliner::TreeElementIDLibrary::isExpandValid ( ) const
overridevirtual

Expanding not implemented for all types yet. Once it is, this can be set to true or AbstractTreeElement::expandValid() can be removed altogether.

Reimplemented from blender::ed::outliner::TreeElementID.

Definition at line 24 of file tree_element_id_library.cc.


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