|
Blender V5.0
|
Inherits blender::ui::AbstractTreeViewItem.
Inherited by blender::ed::spreadsheet::BundleItem, blender::ed::spreadsheet::ClosureInputOutputItem, and blender::ed::spreadsheet::ViewerNodeItem.
Definition at line 1004 of file spreadsheet_dataset_draw.cc.
|
inline |
Definition at line 1006 of file spreadsheet_dataset_draw.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Vector< T, InlineBufferCapacity, Allocator >::as_mutable_span(), and blender::ui::TreeViewItemContainer::foreach_parent().
Referenced by on_activate(), and should_be_active().
|
overridevirtual |
Called when the view changes an item's state from inactive to active. Will only be called if the state change is triggered through the view, not through external changes. E.g. a click on an item calls it, a change in the value returned by should_be_active() to reflect an external state change does not.
Reimplemented from blender::ui::AbstractViewItem.
Definition at line 1191 of file spreadsheet_dataset_draw.cc.
References SpaceSpreadsheet::geometry_id, blender::ui::AbstractTreeViewItem::get_tree_view(), items_path(), NC_SPACE, ND_SPACE_SPREADSHEET, blender::ed::spreadsheet::ViewerDataPath::store(), tree, and WM_main_add_notifier().
|
overridevirtual |
If the result is not empty, it controls whether the item should be active or not, usually depending on the data that the view represents. Note that since this is meant to reflect externally managed state changes, on_activate() will never be called if this returns true.
Reimplemented from blender::ui::AbstractViewItem.
Definition at line 1200 of file spreadsheet_dataset_draw.cc.
References SpaceSpreadsheet::geometry_id, blender::ui::AbstractTreeViewItem::get_tree_view(), items_path(), and tree.