7class ImpSchematic :
public ImpBase {
13 void construct()
override;
14 bool handle_broadcast(
const json &j)
override;
15 void handle_maybe_drag(
bool ctrl)
override;
16 void update_action_sensitivity()
override;
17 void update_highlights()
override;
18 void clear_highlights()
override;
20 ActionCatalogItem::Availability get_editor_type_for_action()
const override
22 return ActionCatalogItem::AVAILABLE_IN_SCHEMATIC;
25 std::string get_hud_text(std::set<SelectableRef> &sel)
override;
27 ActionToolID get_doubleclick_action(ObjectType type,
const UUID &uu)
override;
28 void expand_selection_for_property_panel(std::set<SelectableRef> &sel_extra,
29 const std::set<SelectableRef> &sel)
override;
31 Searcher *get_searcher_ptr()
override
36 ToolID get_tool_for_drag_move(
bool ctrl,
const std::set<SelectableRef> &sel)
const override;
38 void update_monitor()
override;
40 std::map<ObjectType, ImpBase::SelectionFilterInfo> get_selection_filter_info()
const override;
42 void apply_preferences()
override;
45 void canvas_update()
override;
47 const std::string project_dir;
50 int handle_ask_net_merge(
class Net *net,
class Net *into);
51 int handle_ask_delete_component(
class Component *comp);
52 void handle_select_sheet(
const UUID &sheet,
const UUID &block,
const UUIDVec &instance_path);
53 void handle_core_rebuilt();
54 void handle_tool_change(ToolID
id)
override;
58 const Entity *entity_from_selection(
const std::set<SelectableRef> &sel);
65 std::map<std::pair<UUID, UUID>, ViewInfo> view_infos;
66 ViewInfo &get_view_info(
const UUID &sheet,
const UUID &block);
71 void handle_selection_cross_probe()
override;
72 bool cross_probing_enabled =
false;
74 Coordf cursor_pos_drag_begin;
80 void update_unplaced();
84 void handle_extra_button(
const GdkEventButton *button_event)
override;
86 Glib::RefPtr<Gio::SimpleAction> toggle_snap_to_targets_action;
92 std::vector<class ActionButton *> action_buttons_schematic;
95 struct HighlightItem {
98 UUIDVec instance_path;
101 std::vector<HighlightItem> highlights_hierarchical;
103 void update_instance_path_bar();
104 UUIDVec instance_path_for_bar;
106 const Block &get_block_for_group_tag_names()
override;
Definition history_manager.hpp:8