StdCmdWorkbench Class Reference

Inheritance diagram for StdCmdWorkbench:
Gui::Command Gui::CommandBase

List of all members.

Public Member Functions

virtual const char * className () const
 The C++ class name is needed as context for the translation framework.
 StdCmdWorkbench ()
virtual ~StdCmdWorkbench ()

Protected Member Functions

virtual void activated (int iMsg)
 Methods which gets called when activated, needs to be reimplemented!
virtual Gui::ActioncreateAction (void)
 Creates the used Action.
virtual bool isActive (void)
 Overite this method if your Cmd is not always active.

Detailed Description

Definition at line 72 of file CommandStd.cpp.


Constructor & Destructor Documentation

StdCmdWorkbench::StdCmdWorkbench (  ) 
virtual StdCmdWorkbench::~StdCmdWorkbench (  )  [inline, virtual]

Definition at line 72 of file CommandStd.cpp.


Member Function Documentation

void StdCmdWorkbench::activated ( int  iMsg  )  [protected, virtual]

Methods which gets called when activated, needs to be reimplemented!

Implements Gui::Command.

Definition at line 86 of file CommandStd.cpp.

References Gui::CommandBase::_pcAction, Gui::Command::doCommand(), Gui::getMainWindow(), Gui::Command::Gui, draftTools::msg(), Gui::Workbench::name(), RobotExample::pos, RobotExample::w, and Base::Exception::what().

virtual const char* StdCmdWorkbench::className (  )  const [inline, virtual]

The C++ class name is needed as context for the translation framework.

Implements Gui::CommandBase.

Definition at line 72 of file CommandStd.cpp.

Action * StdCmdWorkbench::createAction ( void   )  [protected, virtual]
bool StdCmdWorkbench::isActive ( void   )  [protected, virtual]

Overite this method if your Cmd is not always active.

Reimplemented from Gui::Command.

Definition at line 115 of file CommandStd.cpp.


The documentation for this class was generated from the following file:

Generated on Wed Nov 23 19:01:41 2011 for FreeCAD by  doxygen 1.6.1