Public Member Functions | |
const char * | className () const |
The C++ class name is needed as context for the translation framework. | |
CmdSandboxMeshLoader () | |
Protected Member Functions | |
void | activated (int iMsg) |
Methods which gets called when activated, needs to be reimplemented! | |
bool | isActive (void) |
Overite this method if your Cmd is not always active. |
Definition at line 505 of file Mod/Sandbox/Gui/Command.cpp.
CmdSandboxMeshLoader::CmdSandboxMeshLoader | ( | ) |
Definition at line 518 of file Mod/Sandbox/Gui/Command.cpp.
References Gui::Command::sAppModule, Gui::Command::sGroup, Gui::CommandBase::sMenuText, Gui::CommandBase::sPixmap, Gui::CommandBase::sStatusTip, Gui::CommandBase::sToolTipText, and Gui::CommandBase::sWhatsThis.
void CmdSandboxMeshLoader::activated | ( | int | iMsg | ) | [protected, virtual] |
Methods which gets called when activated, needs to be reimplemented!
Implements Gui::Command.
Definition at line 530 of file Mod/Sandbox/Gui/Command.cpp.
References App::Document::addObject(), draftlibs::fcgeo::connect(), App::Application::getActiveDocument(), App::GetApplication(), Gui::getMainWindow(), Gui::FileDialog::getOpenFileName(), Mesh::Feature::Mesh, Mesh2Shape::mesh, and App::DocumentObject::purgeTouched().
const char* CmdSandboxMeshLoader::className | ( | ) | const [inline, virtual] |
The C++ class name is needed as context for the translation framework.
Implements Gui::CommandBase.
Definition at line 509 of file Mod/Sandbox/Gui/Command.cpp.
bool CmdSandboxMeshLoader::isActive | ( | void | ) | [protected, virtual] |
Overite this method if your Cmd is not always active.
Reimplemented from Gui::Command.
Definition at line 560 of file Mod/Sandbox/Gui/Command.cpp.
References Gui::Command::hasActiveDocument().