egui_charts/ui/widget_bar/panels/object_tree/mod.rs
1//! Object list and cursor data readout for a chart sidebar.
2//!
3//! Use [`ObjectTreePanel`] with host-supplied [`SourceItem`] records and optional
4//! [`DataWindowInfo`]. Apply drawing and study actions through
5//! [`ObjectTreePanel::apply_to_chart`]. Copy each drawing's `folder` into its source row.
6//! Folder paths persist with drawings. Hosts retain [`ObjectTreeState::folders`] per chart
7//! when empty folders must survive closing the panel or restarting the application.
8
9mod actions;
10mod chart_actions;
11mod config;
12mod context_menu;
13mod data_window;
14mod folders;
15mod item_row;
16mod panel;
17mod source_tree;
18mod state;
19mod types;
20
21// Re-export public API
22pub use actions::ObjectTreeAction;
23pub use config::ObjectTreeConfig;
24pub use data_window::show_data_window;
25pub use panel::ObjectTreePanel;
26pub use state::ObjectTreeState;
27pub use types::{DataWindowInfo, DrawingProperties, SourceItem, SourceType};