|
Blender V5.0
|
Inherits blender::ui::BasicTreeViewItem.
Definition at line 78 of file asset_catalog_tree_view.cc.
| blender::ed::asset_browser::AssetCatalogTreeViewItem::AssetCatalogTreeViewItem | ( | const AssetCatalogTreeItem & | catalog_item | ) |
Definition at line 269 of file asset_catalog_tree_view.cc.
References blender::ui::BasicTreeViewItem::BasicTreeViewItem().
|
overridevirtual |
Reimplemented from blender::ui::AbstractViewItem.
Definition at line 297 of file asset_catalog_tree_view.cc.
References IFACE_, blender::wm::InvokeDefault, uiLayout::op(), RNA_string_set(), UI_ITEM_NONE, UI_menutype_draw(), and WM_menutype_find().
|
overridevirtual |
Implements blender::ui::AbstractTreeViewItem.
Definition at line 280 of file asset_catalog_tree_view.cc.
References blender::ui::BasicTreeViewItem::add_label(), blender::wm::InvokeDefault, blender::ui::AbstractTreeViewItem::is_hovered(), blender::ui::AbstractTreeViewItem::label_, RNA_string_set(), UI_but_extra_operator_icon_add(), and blender::ui::AbstractViewItem::view_item_button().
|
overridevirtual |
Add drag support for catalog items.
Reimplemented from blender::ui::AbstractViewItem.
Definition at line 356 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 351 of file asset_catalog_tree_view.cc.
|
overridevirtual |
Reimplemented from blender::ui::AbstractViewItem.
Definition at line 344 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 274 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 333 of file asset_catalog_tree_view.cc.
References 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 326 of file asset_catalog_tree_view.cc.
References blender::ed::asset::catalogs_read_only(), and blender::ui::AbstractTreeViewItem::get_tree_view().