22 ImpPackage(
const std::string &package_filename,
const std::string &pool_path, TempMode temp_mode);
24 std::map<ObjectType, SelectionFilterInfo> get_selection_filter_info()
const override;
29 void construct()
override;
30 void apply_preferences()
override;
31 void update_highlights()
override;
33 ActionCatalogItem::Availability get_editor_type_for_action()
const override
35 return ActionCatalogItem::AVAILABLE_IN_PACKAGE;
38 std::string get_hud_text(std::set<SelectableRef> &sel)
override;
39 void update_action_sensitivity()
override;
40 void update_monitor()
override;
41 ActionToolID get_doubleclick_action(ObjectType type,
const UUID &uu)
override;
43 Searcher *get_searcher_ptr()
override
48 std::vector<std::string> get_view_hints()
override;
51 void canvas_update()
override;
58 void update_fake_board();
65 std::vector<Point3D> points;
66 std::unique_ptr<STEPImporter::STEPImporter> importer;
72 std::map<std::string, ModelInfo> model_info;
73 std::mutex model_info_mutex;
76 std::vector<Coordi> projection_targets;
77 Glib::RefPtr<Gio::SimpleAction> show_projection_action;
79 Glib::RefPtr<Gio::SimpleAction> snap_to_pad_bbox_action;
81 std::string ask_3d_model_filename(
const std::string ¤t_filename =
"");
83 void update_model_editors();
84 void reload_model_editor();
86 Gtk::ListBox *models_listbox =
nullptr;
90 Gtk::Stack *view_3d_stack =
nullptr;
93 Gtk::Entry *entry_name =
nullptr;
101 bool set_filename()
override;
103 void handle_convert_to_pad();
104 UUID converted_padstack;
105 std::set<UUID> converted_polygons;
106 Coordi converted_pad_position;
108 bool handle_broadcast(
const json &j)
override;