Public Member Functions | |
virtual const char * | className () const |
The C++ class name is needed as context for the translation framework. | |
CmdPartCut () | |
virtual | ~CmdPartCut () |
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 226 of file Mod/Part/Gui/Command.cpp.
CmdPartCut::CmdPartCut | ( | ) |
Definition at line 228 of file Mod/Part/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.
virtual CmdPartCut::~CmdPartCut | ( | ) | [inline, virtual] |
Definition at line 226 of file Mod/Part/Gui/Command.cpp.
void CmdPartCut::activated | ( | int | iMsg | ) | [protected, virtual] |
Methods which gets called when activated, needs to be reimplemented!
Implements Gui::Command.
Definition at line 240 of file Mod/Part/Gui/Command.cpp.
References Gui::Command::commitCommand(), Gui::SelectionSingleton::countObjectsOfType(), Gui::Command::Doc, Gui::Command::doCommand(), Part::Feature::getClassTypeId(), Gui::getMainWindow(), Gui::SelectionSingleton::getSelection(), Gui::Command::getSelection(), Gui::Command::getUniqueObjectName(), Gui::Command::Gui, Gui::Command::openCommand(), and Gui::Command::updateActive().
virtual const char* CmdPartCut::className | ( | ) | const [inline, virtual] |
The C++ class name is needed as context for the translation framework.
Implements Gui::CommandBase.
Definition at line 226 of file Mod/Part/Gui/Command.cpp.
bool CmdPartCut::isActive | ( | void | ) | [protected, virtual] |
Overite this method if your Cmd is not always active.
Reimplemented from Gui::Command.
Definition at line 266 of file Mod/Part/Gui/Command.cpp.
References Gui::SelectionSingleton::countObjectsOfType(), Part::Feature::getClassTypeId(), and Gui::Command::getSelection().