Classes | |
class | MissingDependencies |
Static Public Attributes | |
lock = threading.Lock() | |
bool | restart_required = False |
list | workers |
The main Addon Manager class and FreeCAD command
None AddonManager.CommandAddonManager.activate_table_widgets | ( | self | ) |
None AddonManager.CommandAddonManager.Activated | ( | self | ) |
Referenced by ArchStructure.CommandStructuralSystem.Activated(), draftguitools.gui_arcs.Arc.finish(), draftguitools.gui_beziers.BezCurve.finish(), draftguitools.gui_beziers.CubicBezCurve.finish(), draftguitools.gui_ellipses.Ellipse.finish(), draftguitools.gui_lines.Line.finish(), draftguitools.gui_mirror.Mirror.finish(), draftguitools.gui_move.Move.finish(), draftguitools.gui_polygons.Polygon.finish(), draftguitools.gui_rectangles.Rectangle.finish(), draftguitools.gui_rotate.Rotate.finish(), draftguitools.gui_splines.BSpline.finish(), draftguitools.gui_texts.Text.finish(), draftguitools.gui_points.Point.finish(), draftguitools.gui_shapestrings.ShapeString.finish(), draftguitools.gui_arcs.Arc_3Points.getPoint(), and ArchPanel.CommandPanel.getPoint().
None AddonManager.CommandAddonManager.add_addon_repo | ( | self, | |
Addon | addon_repo | ||
) |
adds a workbench to the list
References AddonManager.CommandAddonManager.get_icon(), AddonManager.CommandAddonManager.item_model, change_branch.ChangeBranchDialog.item_model, and package_list.PackageList.item_model.
None AddonManager.CommandAddonManager.append_to_repos_list | ( | self, | |
Addon | repo | ||
) |
this function allows threads to update the main list of workbenches
References AddonManager.CommandAddonManager.item_model, change_branch.ChangeBranchDialog.item_model, and package_list.PackageList.item_model.
def AddonManager.CommandAddonManager.cache_macro | ( | self, | |
Addon | repo | ||
) |
Referenced by AddonManager.CommandAddonManager.reject().
def AddonManager.CommandAddonManager.cache_package | ( | self, | |
Addon | repo | ||
) |
Referenced by AddonManager.CommandAddonManager.reject().
None AddonManager.CommandAddonManager.cancel_dependency_installation | ( | self | ) |
def AddonManager.CommandAddonManager.cancel_network_check | ( | self, | |
button | |||
) |
None AddonManager.CommandAddonManager.check_updates | ( | self | ) |
References AddonManager.CommandAddonManager.do_next_startup_phase(), AddonManager.CommandAddonManager.force_check_updates(), and AddonManager.CommandAddonManager.packages_with_updates.
Referenced by AddonManager.CommandAddonManager.on_buttonUpdateCache_clicked(), and AddonManager.CommandAddonManager.startup().
None AddonManager.CommandAddonManager.cleanup_workers | ( | self, | |
wait = False |
|||
) |
Ensure that no workers are running by explicitly asking them to stop and waiting for them until they do
References AddonManager.CommandAddonManager.workers, and addonmanager_workers.CacheMacroCode.workers.
Referenced by AddonManager.CommandAddonManager.stop_update().
None AddonManager.CommandAddonManager.dependency_dialog_ignore_clicked | ( | self, | |
Addon | repo | ||
) |
None AddonManager.CommandAddonManager.dependency_dialog_yes_clicked | ( | self, | |
Addon | repo | ||
) |
None AddonManager.CommandAddonManager.dependency_installation_failure | ( | self, | |
str | short_message, | ||
str | details | ||
) |
References AddonManager.CommandAddonManager.dependency_installation_dialog, Gui::Dialog::DlgParameterFind.dialog, RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::TaskTextureMapping.dialog, Gui::Dialog::TaskTransform.dialog, AddonManager.CommandAddonManager.dialog, ArchComponent.IfcEditorDelegate.dialog, draftguitools.gui_shapestrings.ShapeString.dialog, draftguitools.gui_texts.Text.dialog, PathScripts.PathJobDlg.JobCreate.dialog, PathScripts.PathJobDlg.JobTemplateExport.dialog, and PathScripts.PathPost.DlgSelectPostProcessor.dialog.
None AddonManager.CommandAddonManager.determine_cache_update_status | ( | self | ) |
Determine whether we need to update the cache, based on user preference, and previous cache update status. Sets self.update_cache to either True or False.
References AddonManager.CommandAddonManager.update_cache.
None AddonManager.CommandAddonManager.display_dep_resolution_dialog | ( | self, | |
missing, | |||
Addon | repo | ||
) |
Referenced by AddonManager.CommandAddonManager.resolve_dependencies().
None AddonManager.CommandAddonManager.do_next_startup_phase | ( | self | ) |
Pop the top item in self.startup_sequence off the list and run it
References AddonManager.CommandAddonManager.current_progress_region, Gui::Dialog::DlgParameterFind.dialog, RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::TaskTextureMapping.dialog, Gui::Dialog::TaskTransform.dialog, AddonManager.CommandAddonManager.dialog, ArchComponent.IfcEditorDelegate.dialog, draftguitools.gui_shapestrings.ShapeString.dialog, draftguitools.gui_texts.Text.dialog, PathScripts.PathJobDlg.JobCreate.dialog, PathScripts.PathJobDlg.JobTemplateExport.dialog, PathScripts.PathPost.DlgSelectPostProcessor.dialog, AddonManager.CommandAddonManager.hide_progress_widgets(), AddonManager.CommandAddonManager.packageList, AddonManager.CommandAddonManager.startup_sequence, and AddonManager.CommandAddonManager.update_cache.
Referenced by AddonManager.CommandAddonManager.activate_table_widgets(), AddonManager.CommandAddonManager.check_updates(), AddonManager.CommandAddonManager.force_check_updates(), AddonManager.CommandAddonManager.select_addon(), and AddonManager.CommandAddonManager.validate().
None AddonManager.CommandAddonManager.enable_updates | ( | self, | |
int | number_of_updates | ||
) |
enables the update button
References AddonManager.CommandAddonManager.check_worker, Gui::Dialog::DlgParameterFind.dialog, RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::TaskTextureMapping.dialog, Gui::Dialog::TaskTransform.dialog, AddonManager.CommandAddonManager.dialog, ArchComponent.IfcEditorDelegate.dialog, draftguitools.gui_shapestrings.ShapeString.dialog, draftguitools.gui_texts.Text.dialog, PathScripts.PathJobDlg.JobCreate.dialog, PathScripts.PathJobDlg.JobTemplateExport.dialog, and PathScripts.PathPost.DlgSelectPostProcessor.dialog.
Referenced by AddonManager.CommandAddonManager.on_package_installed(), AddonManager.CommandAddonManager.on_update_all_completed(), AddonManager.CommandAddonManager.status_updated(), and AddonManager.CommandAddonManager.update_check_complete().
None AddonManager.CommandAddonManager.executemacro | ( | self, | |
Addon | repo | ||
) |
executes a selected macro
References Gui::Dialog::DlgParameterFind.dialog, RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::TaskTextureMapping.dialog, Gui::Dialog::TaskTransform.dialog, AddonManager.CommandAddonManager.dialog, ArchComponent.IfcEditorDelegate.dialog, draftguitools.gui_shapestrings.ShapeString.dialog, draftguitools.gui_texts.Text.dialog, PathScripts.PathJobDlg.JobCreate.dialog, PathScripts.PathJobDlg.JobTemplateExport.dialog, PathScripts.PathPost.DlgSelectPostProcessor.dialog, AddonManager.CommandAddonManager.macro_repo_dir, and AddonManager.CommandAddonManager.on_installation_failed().
None AddonManager.CommandAddonManager.force_check_updates | ( | self, | |
standalone = False |
|||
) |
References AddonManager.CommandAddonManager.check_worker, Gui::Dialog::DlgParameterFind.dialog, RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::TaskTextureMapping.dialog, Gui::Dialog::TaskTransform.dialog, AddonManager.CommandAddonManager.dialog, ArchComponent.IfcEditorDelegate.dialog, draftguitools.gui_shapestrings.ShapeString.dialog, draftguitools.gui_texts.Text.dialog, PathScripts.PathJobDlg.JobCreate.dialog, PathScripts.PathJobDlg.JobTemplateExport.dialog, PathScripts.PathPost.DlgSelectPostProcessor.dialog, AddonManager.CommandAddonManager.do_next_startup_phase(), and AddonManager.CommandAddonManager.packages_with_updates.
Referenced by AddonManager.CommandAddonManager.check_updates(), and AddonManager.CommandAddonManager.on_buttonUpdateCache_clicked().
Returns an icon for an Addon. Uses a cached icon if possible, unless update is True, in which case the icon is regenerated.
Referenced by AddonManager.CommandAddonManager.add_addon_repo(), and AddonManager.CommandAddonManager.on_package_updated().
References AddonManager.QT_TRANSLATE_NOOP().
Determine if we are missing any required Python packages that are not in the allowed packages list. If so, display a message to the user, and return True. Otherwise return False.
References AddonManager.CommandAddonManager.allowed_packages, Gui::Dialog::DlgParameterFind.dialog, RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::TaskTextureMapping.dialog, Gui::Dialog::TaskTransform.dialog, AddonManager.CommandAddonManager.dialog, ArchComponent.IfcEditorDelegate.dialog, draftguitools.gui_shapestrings.ShapeString.dialog, draftguitools.gui_texts.Text.dialog, PathScripts.PathJobDlg.JobCreate.dialog, PathScripts.PathJobDlg.JobTemplateExport.dialog, PathScripts.PathPost.DlgSelectPostProcessor.dialog, and AddonManager.CommandAddonManager.update_allowed_packages_list().
Referenced by AddonManager.CommandAddonManager.resolve_dependencies().
None AddonManager.CommandAddonManager.hide_progress_widgets | ( | self | ) |
hides the progress bar and related widgets
References Gui::Dialog::DlgParameterFind.dialog, RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::TaskTextureMapping.dialog, Gui::Dialog::TaskTransform.dialog, AddonManager.CommandAddonManager.dialog, ArchComponent.IfcEditorDelegate.dialog, draftguitools.gui_shapestrings.ShapeString.dialog, draftguitools.gui_texts.Text.dialog, PathScripts.PathJobDlg.JobCreate.dialog, PathScripts.PathJobDlg.JobTemplateExport.dialog, PathScripts.PathPost.DlgSelectPostProcessor.dialog, and AddonManager.CommandAddonManager.packageList.
Referenced by AddonManager.CommandAddonManager.do_next_startup_phase(), AddonManager.CommandAddonManager.on_installation_failed(), AddonManager.CommandAddonManager.on_package_installed(), AddonManager.CommandAddonManager.on_update_all_completed(), and AddonManager.CommandAddonManager.stop_update().
None AddonManager.CommandAddonManager.install | ( | self, | |
Addon | repo | ||
) |
installs or updates a workbench, macro, or package
References AddonManager.CommandAddonManager.dependency_installation_dialog, AddonManager.CommandAddonManager.install_worker, and AddonManager.CommandAddonManager.show_progress_widgets().
Referenced by AddonManager.CommandAddonManager.dependency_dialog_ignore_clicked(), AddonManager.CommandAddonManager.no_pip(), AddonManager.CommandAddonManager.no_python_exe(), AddonManager.CommandAddonManager.resolve_dependencies(), and AddonManager.CommandAddonManager.update().
None AddonManager.CommandAddonManager.launch | ( | self | ) |
Shows the Addon Manager UI
Referenced by AddonManager.CommandAddonManager.cancel_network_check().
None AddonManager.CommandAddonManager.load_macro_metadata | ( | self | ) |
References AddonManager.CommandAddonManager.update_cache.
Referenced by AddonManager.CommandAddonManager.startup().
None AddonManager.CommandAddonManager.network_connection_failed | ( | self, | |
str | message | ||
) |
References AddonManager.CommandAddonManager.connection_check_message.
Referenced by AddonManager.CommandAddonManager.cancel_network_check().
References AddonManager.CommandAddonManager.dependency_installation_dialog, Gui::Dialog::DlgParameterFind.dialog, RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::TaskTextureMapping.dialog, Gui::Dialog::TaskTransform.dialog, AddonManager.CommandAddonManager.dialog, ArchComponent.IfcEditorDelegate.dialog, draftguitools.gui_shapestrings.ShapeString.dialog, draftguitools.gui_texts.Text.dialog, PathScripts.PathJobDlg.JobCreate.dialog, PathScripts.PathJobDlg.JobTemplateExport.dialog, PathScripts.PathPost.DlgSelectPostProcessor.dialog, AddonManager.CommandAddonManager.install(), addonmanager_macro.Macro.install(), and package_details.PackageDetails.install.
Referenced by addonmanager_workers.DependencyInstallationWorker.run().
None AddonManager.CommandAddonManager.no_python_exe | ( | self, | |
Addon | repo | ||
) |
References AddonManager.CommandAddonManager.dependency_installation_dialog, Gui::Dialog::DlgParameterFind.dialog, RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::TaskTextureMapping.dialog, Gui::Dialog::TaskTransform.dialog, AddonManager.CommandAddonManager.dialog, ArchComponent.IfcEditorDelegate.dialog, draftguitools.gui_shapestrings.ShapeString.dialog, draftguitools.gui_texts.Text.dialog, PathScripts.PathJobDlg.JobCreate.dialog, PathScripts.PathJobDlg.JobTemplateExport.dialog, PathScripts.PathPost.DlgSelectPostProcessor.dialog, AddonManager.CommandAddonManager.install(), addonmanager_macro.Macro.install(), and package_details.PackageDetails.install.
Referenced by addonmanager_workers.DependencyInstallationWorker.run().
None AddonManager.CommandAddonManager.on_buttonBack_clicked | ( | self | ) |
None AddonManager.CommandAddonManager.on_buttonUpdateCache_clicked | ( | self | ) |
References AddonManager.CommandAddonManager.check_updates(), Gui::Dialog::DlgParameterFind.dialog, RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::TaskTextureMapping.dialog, Gui::Dialog::TaskTransform.dialog, AddonManager.CommandAddonManager.dialog, ArchComponent.IfcEditorDelegate.dialog, draftguitools.gui_shapestrings.ShapeString.dialog, draftguitools.gui_texts.Text.dialog, PathScripts.PathJobDlg.JobCreate.dialog, PathScripts.PathJobDlg.JobTemplateExport.dialog, PathScripts.PathPost.DlgSelectPostProcessor.dialog, AddonManager.CommandAddonManager.force_check_updates(), AddonManager.CommandAddonManager.remove(), AddonManager.CommandAddonManager.remove_readonly(), addonmanager_workers.FillMacroListWorker.remove_readonly(), AddonManager.CommandAddonManager.startup(), AddonManager.CommandAddonManager.startup_sequence, and AddonManager.CommandAddonManager.update_cache.
References Gui::Dialog::DlgParameterFind.dialog, RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::TaskTextureMapping.dialog, Gui::Dialog::TaskTransform.dialog, AddonManager.CommandAddonManager.dialog, ArchComponent.IfcEditorDelegate.dialog, draftguitools.gui_shapestrings.ShapeString.dialog, draftguitools.gui_texts.Text.dialog, PathScripts.PathJobDlg.JobCreate.dialog, PathScripts.PathJobDlg.JobTemplateExport.dialog, PathScripts.PathPost.DlgSelectPostProcessor.dialog, and AddonManager.CommandAddonManager.hide_progress_widgets().
Referenced by AddonManager.CommandAddonManager.executemacro().
References Gui::Dialog::DlgParameterFind.dialog, RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::TaskTextureMapping.dialog, Gui::Dialog::TaskTransform.dialog, AddonManager.CommandAddonManager.dialog, ArchComponent.IfcEditorDelegate.dialog, draftguitools.gui_shapestrings.ShapeString.dialog, draftguitools.gui_texts.Text.dialog, PathScripts.PathJobDlg.JobCreate.dialog, PathScripts.PathJobDlg.JobTemplateExport.dialog, PathScripts.PathPost.DlgSelectPostProcessor.dialog, AddonManager.CommandAddonManager.enable_updates(), AddonManager.CommandAddonManager.hide_progress_widgets(), AddonManager.CommandAddonManager.item_model, change_branch.ChangeBranchDialog.item_model, package_list.PackageList.item_model, AddonManager.CommandAddonManager.packageDetails, AddonManager.CommandAddonManager.packages_with_updates, AddonManager.CommandAddonManager.remove(), and AddonManager.CommandAddonManager.restart_required.
None AddonManager.CommandAddonManager.on_package_updated | ( | self, | |
Addon | repo | ||
) |
Called when the named package has either new metadata or a new icon (or both)
References AddonManager.CommandAddonManager.get_icon(), AddonManager.CommandAddonManager.item_model, change_branch.ChangeBranchDialog.item_model, package_list.PackageList.item_model, SALOMEDS::Locker.lock, Utils_Mutex.lock(), e57::PacketReadCache.lock(), Base::StateLocker.lock, Gui::EditorViewP.lock, AddonManager.CommandAddonManager.lock, addonmanager_workers.CacheMacroCode.lock, drafttaskpanels.task_scale.ScaleTaskPanel.lock, and PathScripts.PathCamoticsGui.CAMoticsUI.lock.
None AddonManager.CommandAddonManager.on_update_all_completed | ( | self | ) |
References Gui::Dialog::DlgParameterFind.dialog, RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::TaskTextureMapping.dialog, Gui::Dialog::TaskTransform.dialog, AddonManager.CommandAddonManager.dialog, ArchComponent.IfcEditorDelegate.dialog, draftguitools.gui_shapestrings.ShapeString.dialog, draftguitools.gui_texts.Text.dialog, PathScripts.PathJobDlg.JobCreate.dialog, PathScripts.PathJobDlg.JobTemplateExport.dialog, PathScripts.PathPost.DlgSelectPostProcessor.dialog, AddonManager.CommandAddonManager.enable_updates(), AddonManager.CommandAddonManager.hide_progress_widgets(), AddonManager.CommandAddonManager.item_model, change_branch.ChangeBranchDialog.item_model, package_list.PackageList.item_model, AddonManager.CommandAddonManager.packages_with_updates, AddonManager.CommandAddonManager.remove(), AddonManager.CommandAddonManager.restart_required, AddonManager.CommandAddonManager.subupdates_failed, and AddonManager.CommandAddonManager.subupdates_succeeded.
None AddonManager.CommandAddonManager.populate_macros | ( | self | ) |
None AddonManager.CommandAddonManager.populate_packages_table | ( | self | ) |
References AddonManager.CommandAddonManager.get_cache_file_name(), AddonManager.CommandAddonManager.item_model, change_branch.ChangeBranchDialog.item_model, package_list.PackageList.item_model, and AddonManager.CommandAddonManager.update_cache.
Referenced by AddonManager.CommandAddonManager.startup().
None AddonManager.CommandAddonManager.reject | ( | self | ) |
called when the window has been closed
References AddonManager.CommandAddonManager.cache_macro(), AddonManager.CommandAddonManager.cache_package(), Gui::Dialog::DlgParameterFind.dialog, RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::TaskTextureMapping.dialog, Gui::Dialog::TaskTransform.dialog, AddonManager.CommandAddonManager.dialog, ArchComponent.IfcEditorDelegate.dialog, draftguitools.gui_shapestrings.ShapeString.dialog, draftguitools.gui_texts.Text.dialog, PathScripts.PathJobDlg.JobCreate.dialog, PathScripts.PathJobDlg.JobTemplateExport.dialog, PathScripts.PathPost.DlgSelectPostProcessor.dialog, AddonManager.CommandAddonManager.item_model, change_branch.ChangeBranchDialog.item_model, package_list.PackageList.item_model, AddonManager.CommandAddonManager.restart_required, AddonManager.CommandAddonManager.startup_sequence, AddonManager.CommandAddonManager.workers, addonmanager_workers.CacheMacroCode.workers, AddonManager.CommandAddonManager.write_cache_stopfile(), AddonManager.CommandAddonManager.write_macro_cache(), and AddonManager.CommandAddonManager.write_package_cache().
Referenced by draftguitools.gui_hatch.Draft_Hatch_TaskPanel.accept(), draftguitools.gui_setstyle.Draft_SetStyle_TaskPanel.accept(), drafttaskpanels.task_shapestring.ShapeStringTaskPanelCmd.accept(), drafttaskpanels.task_shapestring.ShapeStringTaskPanelEdit.accept(), drafttaskpanels.task_shapestring.ShapeStringTaskPanel.action(), femexamples.examplesgui.FemExamples.clicked(), and PathScripts.PathToolBitLibraryGui.ToolBitLibrary.toolEdit().
None AddonManager.CommandAddonManager.remove | ( | self, | |
Addon | repo | ||
) |
uninstalls a macro or workbench
References Gui::Dialog::DlgParameterFind.dialog, RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::TaskTextureMapping.dialog, Gui::Dialog::TaskTransform.dialog, AddonManager.CommandAddonManager.dialog, ArchComponent.IfcEditorDelegate.dialog, draftguitools.gui_shapestrings.ShapeString.dialog, draftguitools.gui_texts.Text.dialog, PathScripts.PathJobDlg.JobCreate.dialog, PathScripts.PathJobDlg.JobTemplateExport.dialog, PathScripts.PathPost.DlgSelectPostProcessor.dialog, AddonManager.CommandAddonManager.item_model, change_branch.ChangeBranchDialog.item_model, package_list.PackageList.item_model, AddonManager.CommandAddonManager.packageDetails, AddonManager.CommandAddonManager.remove_readonly(), addonmanager_workers.FillMacroListWorker.remove_readonly(), and AddonManager.CommandAddonManager.restart_required.
Referenced by AddonManager.CommandAddonManager.on_buttonUpdateCache_clicked(), AddonManager.CommandAddonManager.on_package_installed(), and AddonManager.CommandAddonManager.on_update_all_completed().
None AddonManager.CommandAddonManager.remove_readonly | ( | self, | |
func, | |||
path, | |||
_ | |||
) |
Remove a read-only file.
Referenced by AddonManager.CommandAddonManager.on_buttonUpdateCache_clicked(), AddonManager.CommandAddonManager.remove(), and addonmanager_workers.FillMacroListWorker.retrieve_macros_from_git().
References Gui::Dialog::DlgParameterFind.dialog, RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::TaskTextureMapping.dialog, Gui::Dialog::TaskTransform.dialog, AddonManager.CommandAddonManager.dialog, ArchComponent.IfcEditorDelegate.dialog, draftguitools.gui_shapestrings.ShapeString.dialog, draftguitools.gui_texts.Text.dialog, PathScripts.PathJobDlg.JobCreate.dialog, PathScripts.PathJobDlg.JobTemplateExport.dialog, and PathScripts.PathPost.DlgSelectPostProcessor.dialog.
Referenced by AddonManager.CommandAddonManager.resolve_dependencies().
None AddonManager.CommandAddonManager.resolve_dependencies | ( | self, | |
Addon | repo | ||
) |
References AddonManager.CommandAddonManager.allowed_packages, AddonManager.CommandAddonManager.display_dep_resolution_dialog(), AddonManager.CommandAddonManager.handle_disallowed_python(), AddonManager.CommandAddonManager.install(), addonmanager_macro.Macro.install(), package_details.PackageDetails.install, AddonManager.CommandAddonManager.item_model, change_branch.ChangeBranchDialog.item_model, package_list.PackageList.item_model, and AddonManager.CommandAddonManager.report_missing_workbenches().
None AddonManager.CommandAddonManager.select_addon | ( | self, | |
str | name | ||
) |
References AddonManager.CommandAddonManager.do_next_startup_phase(), AddonManager.CommandAddonManager.item_model, change_branch.ChangeBranchDialog.item_model, package_list.PackageList.item_model, and AddonManager.CommandAddonManager.table_row_activated().
Referenced by AddonManager.CommandAddonManager.startup().
def AddonManager.CommandAddonManager.show_connection_check_message | ( | self | ) |
None AddonManager.CommandAddonManager.show_information | ( | self, | |
str | message | ||
) |
shows generic text in the information pane
References Gui::Dialog::DlgParameterFind.dialog, RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::TaskTextureMapping.dialog, Gui::Dialog::TaskTransform.dialog, AddonManager.CommandAddonManager.dialog, ArchComponent.IfcEditorDelegate.dialog, draftguitools.gui_shapestrings.ShapeString.dialog, draftguitools.gui_texts.Text.dialog, PathScripts.PathJobDlg.JobCreate.dialog, PathScripts.PathJobDlg.JobTemplateExport.dialog, and PathScripts.PathPost.DlgSelectPostProcessor.dialog.
None AddonManager.CommandAddonManager.show_progress_widgets | ( | self | ) |
References Gui::Dialog::DlgParameterFind.dialog, RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::TaskTextureMapping.dialog, Gui::Dialog::TaskTransform.dialog, AddonManager.CommandAddonManager.dialog, ArchComponent.IfcEditorDelegate.dialog, draftguitools.gui_shapestrings.ShapeString.dialog, draftguitools.gui_texts.Text.dialog, PathScripts.PathJobDlg.JobCreate.dialog, PathScripts.PathJobDlg.JobTemplateExport.dialog, and PathScripts.PathPost.DlgSelectPostProcessor.dialog.
Referenced by AddonManager.CommandAddonManager.install(), and AddonManager.CommandAddonManager.update_progress_bar().
None AddonManager.CommandAddonManager.show_workbench | ( | self, | |
Addon | repo | ||
) |
None AddonManager.CommandAddonManager.startup | ( | self | ) |
Downloads the available packages listings and populates the table This proceeds in four stages: first, the main GitHub repository is queried for a list of possible addons. Each addon is specified as a git submodule with name and branch information. The actual specific commit ID of the submodule (as listed on Github) is ignored. Any extra repositories specified by the user are appended to this list. Second, the list of macros is downloaded from the FreeCAD/FreeCAD-macros repository and the wiki Third, each of these items is queried for a package.xml metadata file. If that file exists it is downloaded, cached, and any icons that it references are also downloaded and cached. Finally, for workbenches that are not contained within a package (e.g. they provide no metadata), an additional git query is made to see if an update is available. Macros are checked for file changes. Each of these stages is launched in a separate thread to ensure that the UI remains responsive, and the operation can be cancelled. Each stage is also subject to caching, so may return immediately, if no cache update has been requested.
References AddonManager.CommandAddonManager.activate_table_widgets(), AddonManager.CommandAddonManager.check_updates(), AddonManager.CommandAddonManager.load_macro_metadata(), AddonManager.CommandAddonManager.populate_macros(), AddonManager.CommandAddonManager.populate_packages_table(), AddonManager.CommandAddonManager.select_addon(), AddonManager.CommandAddonManager.startup_sequence, AddonManager.CommandAddonManager.update_metadata_cache(), Py::Object.validate(), PartGui::DlgExtrusion.validate(), PartGui::DlgRevolution.validate(), Sandbox::DocumentProtector.validate(), Sandbox::DocumentObjectProtector.validate(), Gui::UnsignedValidator.validate(), Gui::QuantitySpinBoxPrivate.validate(), Gui::InputValidator.validate(), Gui::InputField.validate(), Gui::QuantitySpinBox.validate(), Gui::UIntSpinBox.validate(), and AddonManager.CommandAddonManager.validate().
Referenced by AddonManager.CommandAddonManager.on_buttonUpdateCache_clicked().
None AddonManager.CommandAddonManager.status_updated | ( | self, | |
Addon | repo | ||
) |
None AddonManager.CommandAddonManager.stop_update | ( | self | ) |
References AddonManager.CommandAddonManager.cleanup_workers(), Gui::Dialog::DlgParameterFind.dialog, RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::TaskTextureMapping.dialog, Gui::Dialog::TaskTransform.dialog, AddonManager.CommandAddonManager.dialog, ArchComponent.IfcEditorDelegate.dialog, draftguitools.gui_shapestrings.ShapeString.dialog, draftguitools.gui_texts.Text.dialog, PathScripts.PathJobDlg.JobCreate.dialog, PathScripts.PathJobDlg.JobTemplateExport.dialog, PathScripts.PathPost.DlgSelectPostProcessor.dialog, AddonManager.CommandAddonManager.hide_progress_widgets(), and AddonManager.CommandAddonManager.write_cache_stopfile().
None AddonManager.CommandAddonManager.table_row_activated | ( | self, | |
Addon | selected_repo | ||
) |
a row was activated, show the relevant data
References AddonManager.CommandAddonManager.packageDetails, and AddonManager.CommandAddonManager.packageList.
Referenced by AddonManager.CommandAddonManager.select_addon().
None AddonManager.CommandAddonManager.update | ( | self, | |
Addon | repo | ||
) |
References AddonManager.CommandAddonManager.install(), addonmanager_macro.Macro.install(), and package_details.PackageDetails.install.
Referenced by ArchStructure.CommandStructuralSystem.Activated(), ArchAxisSystem.AxisSystemTaskPanel.addElement(), ArchComponent.ComponentTaskPanel.addElement(), ArchSectionPlane.SectionPlaneTaskPanel.addElement(), DraftGui.FacebinderTaskPanel.addElement(), femtaskpanels.task_result_mechanical._TaskPanel.calculate(), Spreadsheet_legacy.SpreadsheetView.changeCell(), draftguitools.gui_edit.Edit.endEditing(), draftguitools.gui_trackers.boxTracker.height(), draftguitools.gui_trackers.rectangleTracker.p3(), Plot.Plot.plot(), Spreadsheet_legacy.SpreadsheetView.recompute(), ArchAxisSystem.AxisSystemTaskPanel.removeElement(), ArchComponent.ComponentTaskPanel.removeElement(), ArchSectionPlane.SectionPlaneTaskPanel.removeElement(), DraftGui.FacebinderTaskPanel.removeElement(), draftguitools.gui_trackers.gridTracker.reset(), ArchNesting.Nester.run(), draftguitools.gui_trackers.gridTracker.setMainlines(), draftguitools.gui_trackers.gridTracker.setSize(), draftguitools.gui_trackers.gridTracker.setSpacing(), and draftguitools.gui_edit_arch_objects.ArchWallGuiTools.update_object_from_edit_points().
None AddonManager.CommandAddonManager.update_all | ( | self | ) |
Asynchronously apply all available updates: individual failures are noted, but do not stop other updates
References AddonManager.CommandAddonManager.update_all_worker.
None AddonManager.CommandAddonManager.update_allowed_packages_list | ( | self | ) |
References AddonManager.CommandAddonManager.allowed_packages.
Referenced by AddonManager.CommandAddonManager.handle_disallowed_python().
None AddonManager.CommandAddonManager.update_check_complete | ( | self | ) |
References Gui::Dialog::DlgParameterFind.dialog, RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::TaskTextureMapping.dialog, Gui::Dialog::TaskTransform.dialog, AddonManager.CommandAddonManager.dialog, ArchComponent.IfcEditorDelegate.dialog, draftguitools.gui_shapestrings.ShapeString.dialog, draftguitools.gui_texts.Text.dialog, PathScripts.PathJobDlg.JobCreate.dialog, PathScripts.PathJobDlg.JobTemplateExport.dialog, PathScripts.PathPost.DlgSelectPostProcessor.dialog, AddonManager.CommandAddonManager.enable_updates(), and AddonManager.CommandAddonManager.packages_with_updates.
None AddonManager.CommandAddonManager.update_metadata_cache | ( | self | ) |
References AddonManager.CommandAddonManager.update_cache.
Referenced by AddonManager.CommandAddonManager.startup().
None AddonManager.CommandAddonManager.update_progress_bar | ( | self, | |
int | current_value, | ||
int | max_value | ||
) |
Update the progress bar, showing it if it's hidden
References AddonManager.CommandAddonManager.current_progress_region, Gui::Dialog::DlgParameterFind.dialog, RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::TaskTextureMapping.dialog, Gui::Dialog::TaskTransform.dialog, AddonManager.CommandAddonManager.dialog, ArchComponent.IfcEditorDelegate.dialog, draftguitools.gui_shapestrings.ShapeString.dialog, draftguitools.gui_texts.Text.dialog, PathScripts.PathJobDlg.JobCreate.dialog, PathScripts.PathJobDlg.JobTemplateExport.dialog, PathScripts.PathPost.DlgSelectPostProcessor.dialog, AddonManager.CommandAddonManager.number_of_progress_regions, and AddonManager.CommandAddonManager.show_progress_widgets().
Referenced by AddonManager.CommandAddonManager.validate().
def AddonManager.CommandAddonManager.validate | ( | self | ) |
Developer tool: check all repos for validity and print report
References AddonManager.CommandAddonManager.do_next_startup_phase(), AddonManager.CommandAddonManager.item_model, change_branch.ChangeBranchDialog.item_model, package_list.PackageList.item_model, AddonManager.CommandAddonManager.update_progress_bar(), and AddonManager.CommandAddonManager.validate_package_xml().
Referenced by AddonManager.CommandAddonManager.startup().
def AddonManager.CommandAddonManager.validate_package_xml | ( | self, | |
Addon | addon | ||
) |
List[str] AddonManager.CommandAddonManager.validate_preference_pack_metadata | ( | self, | |
pack | |||
) |
Referenced by AddonManager.CommandAddonManager.validate_package_xml().
List[str] AddonManager.CommandAddonManager.validate_workbench_metadata | ( | self, | |
workbench | |||
) |
Referenced by AddonManager.CommandAddonManager.validate_package_xml().
None AddonManager.CommandAddonManager.write_cache_stopfile | ( | self | ) |
def AddonManager.CommandAddonManager.write_macro_cache | ( | self | ) |
def AddonManager.CommandAddonManager.write_package_cache | ( | self | ) |
AddonManager.CommandAddonManager.allowed_packages |
AddonManager.CommandAddonManager.check_worker |
AddonManager.CommandAddonManager.connection_check_message |
AddonManager.CommandAddonManager.connection_checker |
AddonManager.CommandAddonManager.connection_message_timer |
AddonManager.CommandAddonManager.current_progress_region |
AddonManager.CommandAddonManager.dependency_dialog |
AddonManager.CommandAddonManager.dependency_installation_dialog |
AddonManager.CommandAddonManager.dependency_installation_worker |
AddonManager.CommandAddonManager.dialog |
Referenced by RemoteDebugger.RemoteDebugger.accept(), PathScripts.PathJobDlg.JobTemplateExport.checkUncheckTools(), AddonManager.CommandAddonManager.dependency_installation_failure(), AddonManager.CommandAddonManager.do_next_startup_phase(), AddonManager.CommandAddonManager.enable_updates(), RemoteDebugger.RemoteDebugger.exec_(), PathScripts.PathJobDlg.JobCreate.exec_(), PathScripts.PathJobDlg.JobTemplateExport.exec_(), PathScripts.PathPost.DlgSelectPostProcessor.exec_(), AddonManager.CommandAddonManager.executemacro(), PathScripts.PathJobDlg.JobTemplateExport.exportButton(), draftguitools.gui_texts.Text.finish(), AddonManager.CommandAddonManager.force_check_updates(), PathScripts.PathJobDlg.JobCreate.getTemplate(), AddonManager.CommandAddonManager.handle_disallowed_python(), AddonManager.CommandAddonManager.hide_progress_widgets(), PathScripts.PathJobDlg.JobTemplateExport.includePostProcessing(), PathScripts.PathJobDlg.JobTemplateExport.includeSettingCoolant(), PathScripts.PathJobDlg.JobTemplateExport.includeSettingOperationDepths(), PathScripts.PathJobDlg.JobTemplateExport.includeSettingOperationHeights(), PathScripts.PathJobDlg.JobTemplateExport.includeSettingOpsSettings(), PathScripts.PathJobDlg.JobTemplateExport.includeSettings(), PathScripts.PathJobDlg.JobTemplateExport.includeSettingToolRapid(), PathScripts.PathJobDlg.JobTemplateExport.includeStock(), PathScripts.PathJobDlg.JobTemplateExport.includeStockExtent(), PathScripts.PathJobDlg.JobTemplateExport.includeStockPlacement(), PathScripts.PathJobDlg.JobTemplateExport.includeToolControllers(), AddonManager.CommandAddonManager.no_pip(), AddonManager.CommandAddonManager.no_python_exe(), AddonManager.CommandAddonManager.on_buttonUpdateCache_clicked(), AddonManager.CommandAddonManager.on_installation_failed(), AddonManager.CommandAddonManager.on_package_installed(), AddonManager.CommandAddonManager.on_update_all_completed(), RemoteDebugger.RemoteDebugger.reject(), AddonManager.CommandAddonManager.reject(), AddonManager.CommandAddonManager.remove(), AddonManager.CommandAddonManager.report_missing_workbenches(), ArchComponent.IfcEditorDelegate.setModelData(), PathScripts.PathJobDlg.JobCreate.setupModel(), PathScripts.PathJobDlg.JobCreate.setupTemplate(), PathScripts.PathJobDlg.JobCreate.setupTitle(), AddonManager.CommandAddonManager.show_information(), AddonManager.CommandAddonManager.show_progress_widgets(), AddonManager.CommandAddonManager.stop_update(), AddonManager.CommandAddonManager.update_check_complete(), AddonManager.CommandAddonManager.update_progress_bar(), PathScripts.PathPost.DlgSelectPostProcessor.updateTooltip(), and PathScripts.PathJobDlg.JobTemplateExport.updateUI().
AddonManager.CommandAddonManager.install_worker |
Referenced by AddonManager.CommandAddonManager.install().
AddonManager.CommandAddonManager.item_model |
Referenced by AddonManager.CommandAddonManager.add_addon_repo(), AddonManager.CommandAddonManager.append_to_repos_list(), AddonManager.CommandAddonManager.dependency_dialog_yes_clicked(), change_branch.ChangeBranchDialog.exec(), AddonManager.CommandAddonManager.mark_repo_update_available(), package_list.PackageList.on_listPackages_clicked(), AddonManager.CommandAddonManager.on_package_installed(), AddonManager.CommandAddonManager.on_package_updated(), AddonManager.CommandAddonManager.on_update_all_completed(), AddonManager.CommandAddonManager.populate_packages_table(), AddonManager.CommandAddonManager.reject(), AddonManager.CommandAddonManager.remove(), AddonManager.CommandAddonManager.resolve_dependencies(), AddonManager.CommandAddonManager.select_addon(), package_list.PackageList.set_view_style(), AddonManager.CommandAddonManager.status_updated(), and AddonManager.CommandAddonManager.validate().
AddonManager.CommandAddonManager.load_macro_metadata_worker |
|
static |
AddonManager.CommandAddonManager.macro_cache |
Referenced by AddonManager.CommandAddonManager.write_macro_cache().
AddonManager.CommandAddonManager.macro_repo_dir |
Referenced by AddonManager.CommandAddonManager.executemacro().
AddonManager.CommandAddonManager.macro_worker |
AddonManager.CommandAddonManager.number_of_progress_regions |
Referenced by AddonManager.CommandAddonManager.update_progress_bar().
AddonManager.CommandAddonManager.package_cache |
Referenced by AddonManager.CommandAddonManager.write_package_cache().
AddonManager.CommandAddonManager.packageDetails |
Referenced by AddonManager.CommandAddonManager.mark_repo_update_available(), AddonManager.CommandAddonManager.on_buttonBack_clicked(), AddonManager.CommandAddonManager.on_package_installed(), AddonManager.CommandAddonManager.remove(), AddonManager.CommandAddonManager.show_workbench(), and AddonManager.CommandAddonManager.table_row_activated().
AddonManager.CommandAddonManager.packageList |
Referenced by AddonManager.CommandAddonManager.activate_table_widgets(), AddonManager.CommandAddonManager.do_next_startup_phase(), AddonManager.CommandAddonManager.hide_progress_widgets(), AddonManager.CommandAddonManager.on_buttonBack_clicked(), AddonManager.CommandAddonManager.show_workbench(), and AddonManager.CommandAddonManager.table_row_activated().
AddonManager.CommandAddonManager.packages_with_updates |
Referenced by AddonManager.CommandAddonManager.check_updates(), AddonManager.CommandAddonManager.force_check_updates(), AddonManager.CommandAddonManager.on_package_installed(), AddonManager.CommandAddonManager.on_update_all_completed(), AddonManager.CommandAddonManager.status_updated(), and AddonManager.CommandAddonManager.update_check_complete().
|
static |
AddonManager.CommandAddonManager.restart_required |
AddonManager.CommandAddonManager.startup_sequence |
AddonManager.CommandAddonManager.subupdates_failed |
Referenced by AddonManager.CommandAddonManager.on_update_all_completed().
AddonManager.CommandAddonManager.subupdates_succeeded |
Referenced by AddonManager.CommandAddonManager.on_update_all_completed().
AddonManager.CommandAddonManager.trigger_recache |
AddonManager.CommandAddonManager.update_all_worker |
Referenced by AddonManager.CommandAddonManager.update_all().
AddonManager.CommandAddonManager.update_cache |
Referenced by AddonManager.CommandAddonManager.determine_cache_update_status(), AddonManager.CommandAddonManager.do_next_startup_phase(), AddonManager.CommandAddonManager.load_macro_metadata(), AddonManager.CommandAddonManager.on_buttonUpdateCache_clicked(), AddonManager.CommandAddonManager.populate_macros(), AddonManager.CommandAddonManager.populate_packages_table(), and AddonManager.CommandAddonManager.update_metadata_cache().
AddonManager.CommandAddonManager.update_metadata_cache_worker |
AddonManager.CommandAddonManager.update_worker |
|
static |
Referenced by AddonManager.CommandAddonManager.cleanup_workers(), AddonManager.CommandAddonManager.reject(), and addonmanager_workers.CacheMacroCode.update_and_advance().