Public Member Functions | |
virtual const char * | className () const |
The C++ class name is needed as context for the translation framework. | |
CmdSketcherViewSketch () | |
virtual | ~CmdSketcherViewSketch () |
Protected Member Functions | |
virtual void | activated (int iMsg) |
Methods which gets called when activated, needs to be reimplemented! | |
virtual bool | isActive (void) |
Overite this method if your Cmd is not always active. |
Definition at line 300 of file Mod/Sketcher/Gui/Command.cpp.
CmdSketcherViewSketch::CmdSketcherViewSketch | ( | ) |
Definition at line 302 of file Mod/Sketcher/Gui/Command.cpp.
References Gui::Command::eType, Gui::Command::sAppModule, Gui::Command::sGroup, Gui::CommandBase::sMenuText, Gui::CommandBase::sStatusTip, Gui::CommandBase::sToolTipText, and Gui::CommandBase::sWhatsThis.
virtual CmdSketcherViewSketch::~CmdSketcherViewSketch | ( | ) | [inline, virtual] |
Definition at line 300 of file Mod/Sketcher/Gui/Command.cpp.
void CmdSketcherViewSketch::activated | ( | int | iMsg | ) | [protected, virtual] |
Methods which gets called when activated, needs to be reimplemented!
Implements Gui::Command.
Definition at line 314 of file Mod/Sketcher/Gui/Command.cpp.
References Gui::Command::doCommand(), Gui::Command::getActiveGuiDocument(), Gui::Document::getInEdit(), App::DocumentObject::getNameInDocument(), Gui::ViewProviderDocumentObject::getObject(), and Gui::Command::Gui.
virtual const char* CmdSketcherViewSketch::className | ( | ) | const [inline, virtual] |
The C++ class name is needed as context for the translation framework.
Implements Gui::CommandBase.
Definition at line 300 of file Mod/Sketcher/Gui/Command.cpp.
bool CmdSketcherViewSketch::isActive | ( | void | ) | [protected, virtual] |
Overite this method if your Cmd is not always active.
Reimplemented from Gui::Command.
Definition at line 322 of file Mod/Sketcher/Gui/Command.cpp.
References Gui::Command::getActiveGuiDocument(), Gui::Document::getInEdit(), and SketcherGui::ViewProviderSketch::getSketchMode().