Public Member Functions | |
virtual const char * | className () const |
The C++ class name is needed as context for the translation framework. | |
CmdMeshToolMesh () | |
virtual | ~CmdMeshToolMesh () |
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 799 of file Mod/Mesh/Gui/Command.cpp.
CmdMeshToolMesh::CmdMeshToolMesh | ( | ) |
Definition at line 801 of file Mod/Mesh/Gui/Command.cpp.
References Gui::Command::sAppModule, Gui::Command::sGroup, Gui::CommandBase::sMenuText, Gui::CommandBase::sStatusTip, Gui::CommandBase::sToolTipText, and Gui::CommandBase::sWhatsThis.
virtual CmdMeshToolMesh::~CmdMeshToolMesh | ( | ) | [inline, virtual] |
Definition at line 799 of file Mod/Mesh/Gui/Command.cpp.
void CmdMeshToolMesh::activated | ( | int | iMsg | ) | [protected, virtual] |
Methods which gets called when activated, needs to be reimplemented!
Implements Gui::Command.
Definition at line 812 of file Mod/Mesh/Gui/Command.cpp.
References Gui::SelectionSingleton::clearSelection(), Gui::Command::commitCommand(), Gui::Command::Doc, Gui::Command::doCommand(), Mesh::Feature::getClassTypeId(), Gui::Command::getDocument(), App::DocumentObject::getNameInDocument(), App::Document::getObject(), Gui::Command::getSelection(), Gui::Command::getUniqueObjectName(), Gui::Command::Gui, Mesh2Shape::mesh, Gui::Command::openCommand(), Gui::Selection(), and Gui::Command::updateActive().
virtual const char* CmdMeshToolMesh::className | ( | ) | const [inline, virtual] |
The C++ class name is needed as context for the translation framework.
Implements Gui::CommandBase.
Definition at line 799 of file Mod/Mesh/Gui/Command.cpp.
bool CmdMeshToolMesh::isActive | ( | void | ) | [protected, virtual] |
Overite this method if your Cmd is not always active.
Reimplemented from Gui::Command.
Definition at line 845 of file Mod/Mesh/Gui/Command.cpp.
References Gui::SelectionSingleton::countObjectsOfType(), Mesh::Feature::getClassTypeId(), and Gui::Command::getSelection().