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::Action * | createAction (void) |
| Creates the used Action. | |
| virtual bool | isActive (void) |
| Overite this method if your Cmd is not always active. | |
Definition at line 72 of file CommandStd.cpp.
| StdCmdWorkbench::StdCmdWorkbench | ( | ) |
Definition at line 74 of file CommandStd.cpp.
References Gui::Command::eType, Gui::Command::sGroup, Gui::CommandBase::sMenuText, Gui::CommandBase::sPixmap, Gui::CommandBase::sStatusTip, Gui::CommandBase::sToolTipText, and Gui::CommandBase::sWhatsThis.
| virtual StdCmdWorkbench::~StdCmdWorkbench | ( | ) | [inline, virtual] |
Definition at line 72 of file CommandStd.cpp.
| 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] |
Creates the used Action.
Reimplemented from Gui::Command.
Definition at line 120 of file CommandStd.cpp.
References Gui::Command::applyCommandData(), Gui::BitmapFactory(), Gui::getMainWindow(), Gui::CommandBase::sAccel, Gui::Action::setIcon(), Gui::Action::setShortcut(), and Gui::CommandBase::sPixmap.
| 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.
1.6.1