Add Addon Manager to Tools menu

This commit is contained in:
Kurt Kremitzki
2017-02-01 20:20:38 -06:00
committed by wmayer
parent 66982e21bd
commit 25496adcbe
11 changed files with 1018 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
# -*- coding: utf-8 -*-
# FreeCAD tools of the AddonManager workbench
# (c) 2001 Juergen Riegel
# License LGPL
import FreeCAD, FreeCADGui
class CmdAddonMgr:
def Activated(self):
import AddonManager
AddonManager.launchAddonMgr()
def IsActive(self):
return True
def GetResources(self):
return {'Pixmap': 'AddonManager', 'MenuText': '&Addon manager',
'ToolTip': 'Manage FreeCAD workbenches and macros',
'Group': 'Tools'}