|
Blender
V2.93
|
#include <tree_element.hh>
Inherited by blender::ed::outliner::TreeElementAnimData, blender::ed::outliner::TreeElementCollectionBase, blender::ed::outliner::TreeElementDriverBase, blender::ed::outliner::TreeElementGPencilLayer, blender::ed::outliner::TreeElementID, blender::ed::outliner::TreeElementNLA, blender::ed::outliner::TreeElementNLAAction, blender::ed::outliner::TreeElementNLATrack, blender::ed::outliner::TreeElementOverridesBase, blender::ed::outliner::TreeElementOverridesProperty, blender::ed::outliner::TreeElementSceneObjectsBase, and blender::ed::outliner::TreeElementViewLayerBase.
Public Member Functions | |
| virtual | ~AbstractTreeElement ()=default |
| virtual bool | expandPoll (const SpaceOutliner &) const |
| virtual void | expand (SpaceOutliner &) const |
| virtual void | postExpand (SpaceOutliner &) const |
| virtual bool | isExpandValid () const |
Protected Member Functions | |
| AbstractTreeElement (TreeElement &legacy_te) | |
Protected Attributes | |
| TreeElement & | legacy_te_ |
Definition at line 30 of file tree_element.hh.
|
virtualdefault |
|
inlineprotected |
Definition at line 70 of file tree_element.hh.
|
inlinevirtual |
Let the type add its own children.
Reimplemented in blender::ed::outliner::TreeElementNLATrack, blender::ed::outliner::TreeElementNLA, blender::ed::outliner::TreeElementDriverBase, blender::ed::outliner::TreeElementAnimData, blender::ed::outliner::TreeElementViewLayerBase, blender::ed::outliner::TreeElementSceneObjectsBase, blender::ed::outliner::TreeElementOverridesBase, blender::ed::outliner::TreeElementIDScene, and blender::ed::outliner::TreeElementCollectionBase.
Definition at line 52 of file tree_element.hh.
Referenced by blender::ed::outliner::tree_element_expand().
|
inlinevirtual |
Check if the type is expandable in current context.
Reimplemented in blender::ed::outliner::TreeElementID.
Definition at line 45 of file tree_element.hh.
Referenced by blender::ed::outliner::tree_element_expand(), and blender::ed::outliner::tree_element_expand_poll().
|
inlinevirtual |
Just while transitioning to the new tree-element design: Some types are only partially ported, and the expanding isn't done yet.
Reimplemented in blender::ed::outliner::TreeElementIDScene, blender::ed::outliner::TreeElementIDLibrary, and blender::ed::outliner::TreeElementID.
Definition at line 63 of file tree_element.hh.
|
inlinevirtual |
Reimplemented in blender::ed::outliner::TreeElementID.
Definition at line 55 of file tree_element.hh.
Referenced by blender::ed::outliner::tree_element_expand(), and blender::ed::outliner::tree_element_post_expand_only().
|
protected |
Reference back to the owning legacy TreeElement. Most concrete types need access to this, so storing here. Eventually the type should be replaced by AbstractTreeElement and derived types.
Definition at line 37 of file tree_element.hh.
Referenced by blender::ed::outliner::TreeElementCollectionBase::expand(), blender::ed::outliner::TreeElementOverridesBase::expand(), blender::ed::outliner::TreeElementSceneObjectsBase::expand(), blender::ed::outliner::TreeElementViewLayerBase::expand(), blender::ed::outliner::TreeElementAnimData::expand(), blender::ed::outliner::TreeElementDriverBase::expand(), blender::ed::outliner::TreeElementNLA::expand(), blender::ed::outliner::TreeElementNLATrack::expand(), blender::ed::outliner::TreeElementID::expand_animation_data(), blender::ed::outliner::TreeElementID::expandPoll(), blender::ed::outliner::TreeElementID::postExpand(), blender::ed::outliner::TreeElementID::TreeElementID(), and blender::ed::outliner::TreeElementViewLayerBase::TreeElementViewLayerBase().