Public Member Functions

def Activated (self)
 
def add_addon_repo (self, addon_repo)
 
def add_macro (self, macro)
 
def apply_updates (self)
 
def check_updates (self)
 
def enable_updates (self, num)
 
def executemacro (self)
 
def get_icon (self, repo)
 
def GetResources (self)
 
def install (self, repos=None)
 
def launch (self)
 
def mark (self, repo)
 
def mark_recompute (self, addon)
 
def reject (self)
 
def remove (self)
 
def remove_readonly (self, func, path, _)
 
def show (self, idx)
 
def show_config (self)
 
def show_information (self, label)
 
def show_macro (self, idx)
 
def show_progress_bar (self, state)
 
def switchtab (self, idx)
 
def update (self)
 
def update_repos (self, repos)
 
def update_status (self, soft=False)
 

Public Attributes

 addon_removed
 
 check_worker
 
 config
 
 dialog
 
 doUpdate
 
 firstmacro
 
 firsttime
 
 install_worker
 
 macro_repo_dir
 
 macro_worker
 
 macros
 
 repos
 
 show_worker
 
 showmacro_worker
 
 update_worker
 

Detailed Description

The main Addon Manager class and FreeCAD command

Member Function Documentation

◆ Activated()

◆ add_addon_repo()

def AddonManager.CommandAddonManager.add_addon_repo (   self,
  addon_repo 
)
adds a workbench to the list

References RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::DlgParameterFind.dialog, Gui::Dialog::TaskTextureMapping.dialog, AddonManager.CommandAddonManager.dialog, Gui::Dialog::TaskTransform.dialog, AddonManager.CommandAddonManager.get_icon(), and AddonManager.CommandAddonManager.repos.

◆ add_macro()

def AddonManager.CommandAddonManager.add_macro (   self,
  macro 
)
adds a macro to the list

References RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::DlgParameterFind.dialog, Gui::Dialog::TaskTextureMapping.dialog, AddonManager.CommandAddonManager.dialog, Gui::Dialog::TaskTransform.dialog, and AddonManager.CommandAddonManager.macros.

◆ apply_updates()

def AddonManager.CommandAddonManager.apply_updates (   self)
apply all available updates

References RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::DlgParameterFind.dialog, Gui::Dialog::TaskTextureMapping.dialog, AddonManager.CommandAddonManager.dialog, Gui::Dialog::TaskTransform.dialog, AddonManager.CommandAddonManager.doUpdate, and AddonManager.CommandAddonManager.install().

◆ check_updates()

def AddonManager.CommandAddonManager.check_updates (   self)

References AddonManager.CommandAddonManager.check_worker, RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::DlgParameterFind.dialog, Gui::Dialog::TaskTextureMapping.dialog, AddonManager.CommandAddonManager.dialog, Gui::Dialog::TaskTransform.dialog, and AddonManager.CommandAddonManager.doUpdate.

◆ enable_updates()

def AddonManager.CommandAddonManager.enable_updates (   self,
  num 
)
enables the update button

References RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::DlgParameterFind.dialog, Gui::Dialog::TaskTextureMapping.dialog, AddonManager.CommandAddonManager.dialog, and Gui::Dialog::TaskTransform.dialog.

◆ executemacro()

def AddonManager.CommandAddonManager.executemacro (   self)
executes a selected macro

References RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::DlgParameterFind.dialog, Gui::Dialog::TaskTextureMapping.dialog, AddonManager.CommandAddonManager.dialog, Gui::Dialog::TaskTransform.dialog, and AddonManager.CommandAddonManager.macros.

◆ get_icon()

def AddonManager.CommandAddonManager.get_icon (   self,
  repo 
)

◆ GetResources()

def AddonManager.CommandAddonManager.GetResources (   self)

◆ install()

def AddonManager.CommandAddonManager.install (   self,
  repos = None 
)
installs a workbench or macro

References RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::DlgParameterFind.dialog, Gui::Dialog::TaskTextureMapping.dialog, AddonManager.CommandAddonManager.dialog, Gui::Dialog::TaskTransform.dialog, AddonManager.CommandAddonManager.install_worker, and AddonManager.CommandAddonManager.repos.

Referenced by AddonManager.CommandAddonManager.apply_updates().

◆ launch()

def AddonManager.CommandAddonManager.launch (   self)
Shows the Addon Manager UI

Referenced by AddonManager.CommandAddonManager.Activated().

◆ mark()

def AddonManager.CommandAddonManager.mark (   self,
  repo 
)
mark a workbench as updatable

References RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::DlgParameterFind.dialog, Gui::Dialog::TaskTextureMapping.dialog, AddonManager.CommandAddonManager.dialog, Gui::Dialog::TaskTransform.dialog, and AddonManager.CommandAddonManager.doUpdate.

◆ mark_recompute()

def AddonManager.CommandAddonManager.mark_recompute (   self,
  addon 
)
marks an addon in the list as installed but needs recompute

References RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::DlgParameterFind.dialog, Gui::Dialog::TaskTextureMapping.dialog, AddonManager.CommandAddonManager.dialog, and Gui::Dialog::TaskTransform.dialog.

◆ reject()

def AddonManager.CommandAddonManager.reject (   self)

◆ remove()

def AddonManager.CommandAddonManager.remove (   self)

◆ remove_readonly()

def AddonManager.CommandAddonManager.remove_readonly (   self,
  func,
  path,
  _ 
)

◆ show()

def AddonManager.CommandAddonManager.show (   self,
  idx 
)
loads information of a given workbench

References RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::DlgParameterFind.dialog, Gui::Dialog::TaskTextureMapping.dialog, AddonManager.CommandAddonManager.dialog, Gui::Dialog::TaskTransform.dialog, AddonManager.CommandAddonManager.firsttime, AddonManager.CommandAddonManager.repos, and AddonManager.CommandAddonManager.show_worker.

Referenced by Mod.Show.mTempoVis.TempoVis.show_all_dependencies(), and Mod.Show.mTempoVis.TempoVis.show_all_dependent().

◆ show_config()

def AddonManager.CommandAddonManager.show_config (   self)
shows the configuration dialog

◆ show_information()

def AddonManager.CommandAddonManager.show_information (   self,
  label 
)
shows text in the information pane

References RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::DlgParameterFind.dialog, Gui::Dialog::TaskTextureMapping.dialog, AddonManager.CommandAddonManager.dialog, and Gui::Dialog::TaskTransform.dialog.

◆ show_macro()

def AddonManager.CommandAddonManager.show_macro (   self,
  idx 
)
loads information of a given macro

References RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::DlgParameterFind.dialog, Gui::Dialog::TaskTextureMapping.dialog, AddonManager.CommandAddonManager.dialog, Gui::Dialog::TaskTransform.dialog, AddonManager.CommandAddonManager.firstmacro, AddonManager.CommandAddonManager.macros, and AddonManager.CommandAddonManager.showmacro_worker.

◆ show_progress_bar()

def AddonManager.CommandAddonManager.show_progress_bar (   self,
  state 
)
shows or hides the progress bar

References RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::DlgParameterFind.dialog, Gui::Dialog::TaskTextureMapping.dialog, AddonManager.CommandAddonManager.dialog, Gui::Dialog::TaskTransform.dialog, AddonManager.CommandAddonManager.firstmacro, and AddonManager.CommandAddonManager.firsttime.

◆ switchtab()

def AddonManager.CommandAddonManager.switchtab (   self,
  idx 
)
does what needs to be done when switching tabs

References RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::DlgParameterFind.dialog, Gui::Dialog::TaskTextureMapping.dialog, AddonManager.CommandAddonManager.dialog, Gui::Dialog::TaskTransform.dialog, and AddonManager.CommandAddonManager.macros.

◆ update()

◆ update_repos()

def AddonManager.CommandAddonManager.update_repos (   self,
  repos 
)
this function allows threads to update the main list of workbenches

References AddonManager.CommandAddonManager.repos.

◆ update_status()

def AddonManager.CommandAddonManager.update_status (   self,
  soft = False 
)
Updates the list of workbenches/macros. If soft is true, items
are not recreated (and therefore display text isn't triggered)"

References RemoteDebugger.RemoteDebugger.dialog, Gui::Dialog::DlgParameterFind.dialog, Gui::Dialog::TaskTextureMapping.dialog, AddonManager.CommandAddonManager.dialog, Gui::Dialog::TaskTransform.dialog, AddonManager.CommandAddonManager.get_icon(), AddonManager.CommandAddonManager.macros, and AddonManager.CommandAddonManager.repos.

Referenced by AddonManager.CommandAddonManager.remove().

Member Data Documentation

◆ addon_removed

AddonManager.CommandAddonManager.addon_removed

◆ check_worker

AddonManager.CommandAddonManager.check_worker

◆ config

AddonManager.CommandAddonManager.config

◆ dialog

AddonManager.CommandAddonManager.dialog

Referenced by AddonManager.CommandAddonManager.add_addon_repo(), AddonManager.CommandAddonManager.add_macro(), AddonManager.CommandAddonManager.apply_updates(), AddonManager.CommandAddonManager.check_updates(), PathScripts.PathJobDlg.JobTemplateExport.checkUncheckTools(), PathScripts.PathToolBitGui.ToolBitSelector.createTool(), AddonManager.CommandAddonManager.enable_updates(), PathScripts.PathPost.DlgSelectPostProcessor.exec_(), PathScripts.PathJobDlg.JobCreate.exec_(), PathScripts.PathJobDlg.JobTemplateExport.exec_(), AddonManager.CommandAddonManager.executemacro(), PathScripts.PathJobDlg.JobTemplateExport.exportButton(), draftguitools.gui_texts.Text.finish(), PathScripts.PathJobDlg.JobCreate.getTemplate(), PathScripts.PathJobDlg.JobTemplateExport.includePostProcessing(), 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.install(), AddonManager.CommandAddonManager.mark(), AddonManager.CommandAddonManager.mark_recompute(), AddonManager.CommandAddonManager.reject(), AddonManager.CommandAddonManager.remove(), ArchComponent.IfcEditorDelegate.setModelData(), PathScripts.PathJobDlg.JobCreate.setupModel(), PathScripts.PathJobDlg.JobCreate.setupTemplate(), PathScripts.PathJobDlg.JobCreate.setupTitle(), AddonManager.CommandAddonManager.show(), AddonManager.CommandAddonManager.show_information(), AddonManager.CommandAddonManager.show_macro(), AddonManager.CommandAddonManager.show_progress_bar(), AddonManager.CommandAddonManager.switchtab(), AddonManager.CommandAddonManager.update(), AddonManager.CommandAddonManager.update_status(), PathScripts.PathPost.DlgSelectPostProcessor.updateTooltip(), and PathScripts.PathJobDlg.JobTemplateExport.updateUI().

◆ doUpdate

◆ firstmacro

AddonManager.CommandAddonManager.firstmacro

◆ firsttime

AddonManager.CommandAddonManager.firsttime

◆ install_worker

AddonManager.CommandAddonManager.install_worker

◆ macro_repo_dir

AddonManager.CommandAddonManager.macro_repo_dir

◆ macro_worker

AddonManager.CommandAddonManager.macro_worker

◆ macros

◆ repos

◆ show_worker

AddonManager.CommandAddonManager.show_worker

◆ showmacro_worker

AddonManager.CommandAddonManager.showmacro_worker

◆ update_worker

AddonManager.CommandAddonManager.update_worker

The documentation for this class was generated from the following file:
  • src/Mod/AddonManager/AddonManager.py