Public Member Functions | |
virtual const char * | className () const |
The C++ class name is needed as context for the translation framework. | |
CmdPartShapeFromMesh () | |
virtual | ~CmdPartShapeFromMesh () |
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 101 of file CommandSimple.cpp.
CmdPartShapeFromMesh::CmdPartShapeFromMesh | ( | ) |
Definition at line 103 of file CommandSimple.cpp.
References Gui::Command::sAppModule, Gui::Command::sGroup, Gui::CommandBase::sMenuText, Gui::CommandBase::sStatusTip, Gui::CommandBase::sToolTipText, and Gui::CommandBase::sWhatsThis.
virtual CmdPartShapeFromMesh::~CmdPartShapeFromMesh | ( | ) | [inline, virtual] |
Definition at line 101 of file CommandSimple.cpp.
void CmdPartShapeFromMesh::activated | ( | int | iMsg | ) | [protected, virtual] |
Methods which gets called when activated, needs to be reimplemented!
Implements Gui::Command.
Definition at line 114 of file CommandSimple.cpp.
References Gui::Command::commitCommand(), Gui::Command::Doc, Gui::Command::doCommand(), Base::Type::fromName(), Gui::getMainWindow(), App::Document::getName(), App::Document::getUniqueObjectName(), Mesh2Shape::mesh, Gui::Command::openCommand(), and Gui::Selection().
virtual const char* CmdPartShapeFromMesh::className | ( | ) | const [inline, virtual] |
The C++ class name is needed as context for the translation framework.
Implements Gui::CommandBase.
Definition at line 101 of file CommandSimple.cpp.
bool CmdPartShapeFromMesh::isActive | ( | void | ) | [protected, virtual] |
Overite this method if your Cmd is not always active.
Reimplemented from Gui::Command.
Definition at line 154 of file CommandSimple.cpp.
References Base::Type::fromName(), and Gui::Selection().