|
Blender V5.3
|
Inherits blender::ui::BasicTreeViewItem.
Definition at line 85 of file asset_catalog_tree_view.cc.
| blender::ed::asset_browser::AssetCatalogTreeViewItem::AssetCatalogTreeViewItem | ( | const AssetCatalogTreeItem & | catalog_item | ) |
Definition at line 287 of file asset_catalog_tree_view.cc.
References blender::ui::BasicTreeViewItem::BasicTreeViewItem().
|
overridevirtual |
Reimplemented from blender::ui::AbstractViewItem.
Definition at line 319 of file asset_catalog_tree_view.cc.
References C, IFACE_, blender::wm::InvokeDefault, blender::ui::menutype_draw(), blender::ui::Layout::op(), blender::RNA_string_set(), UI_ITEM_NONE, and blender::WM_menutype_find().
|
overridevirtual |
Implements blender::ui::AbstractTreeViewItem.
Definition at line 298 of file asset_catalog_tree_view.cc.
References blender::ui::BasicTreeViewItem::add_label(), blender::wm::InvokeDefault, blender::ui::AbstractViewItem::is_hovered(), blender::ui::AbstractTreeViewItem::label_, blender::RNA_string_set(), and blender::ui::AbstractViewItem::view_item_button().
|
overridevirtual |
Add drag support for catalog items.
Reimplemented from blender::ui::AbstractViewItem.
Definition at line 378 of file asset_catalog_tree_view.cc.
References blender::ui::AbstractTreeViewItem::get_tree_view().
|
overridevirtual |
Add dropping support for catalog items.
Reimplemented from blender::ui::AbstractTreeViewItem.
Definition at line 373 of file asset_catalog_tree_view.cc.
|
overridevirtual |
Reimplemented from blender::ui::AbstractViewItem.
Definition at line 366 of file asset_catalog_tree_view.cc.
References blender::ed::asset::catalog_remove(), and blender::ui::AbstractTreeViewItem::get_tree_view().
|
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 292 of file asset_catalog_tree_view.cc.
References blender::ed::asset_browser::AssetCatalogTreeView::activate_catalog_by_id(), and blender::ui::AbstractTreeViewItem::get_tree_view().
|
overridevirtual |
See AbstractViewItem::rename().
Reimplemented from blender::ui::AbstractTreeViewItem.
Definition at line 355 of file asset_catalog_tree_view.cc.
References C, blender::ed::asset::catalog_rename(), and blender::ui::AbstractTreeViewItem::get_tree_view().
|
overridevirtual |
Queries if the view item supports renaming in principle. Renaming may still fail, e.g. if another item is already being renamed.
Reimplemented from blender::ui::AbstractViewItem.
Definition at line 348 of file asset_catalog_tree_view.cc.
References blender::ed::asset::catalogs_read_only(), and blender::ui::AbstractTreeViewItem::get_tree_view().