2
# (c) 2009 Juergen Riegel
4
# Gathering all the information to start FreeCAD
5
# This is the second one of three init scripts, the third one
6
# runs when the gui is up
8
# ***************************************************************************
9
# * Copyright (c) 2009 Juergen Riegel <juergen.riegel@web.de> *
11
# * This file is part of the FreeCAD CAx development system. *
13
# * This program is free software; you can redistribute it and/or modify *
14
# * it under the terms of the GNU Lesser General Public License (LGPL) *
15
# * as published by the Free Software Foundation; either version 2 of *
16
# * the License, or (at your option) any later version. *
17
# * for detail see the LICENCE text file. *
19
# * FreeCAD is distributed in the hope that it will be useful, *
20
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
21
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
22
# * GNU Lesser General Public License for more details. *
24
# * You should have received a copy of the GNU Library General Public *
25
# * License along with FreeCAD; if not, write to the Free Software *
26
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
29
# ***************************************************************************/
32
class RobotWorkbench(Workbench):
33
"Robot workbench object"
36
self.__class__.Icon = (
37
FreeCAD.getResourceDir() + "Mod/Robot/Resources/icons/RobotWorkbench.svg"
39
self.__class__.MenuText = "Robot"
40
self.__class__.ToolTip = "Robot workbench"
47
def GetClassName(self):
48
return "RobotGui::Workbench"
51
Gui.addWorkbench(RobotWorkbench())