Public Member Functions | |
virtual const char * | className () const |
The C++ class name is needed as context for the translation framework. | |
CmdPartDesignPocket () | |
virtual | ~CmdPartDesignPocket () |
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 169 of file Mod/PartDesign/Gui/Command.cpp.
CmdPartDesignPocket::CmdPartDesignPocket | ( | ) |
Definition at line 171 of file Mod/PartDesign/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 CmdPartDesignPocket::~CmdPartDesignPocket | ( | ) | [inline, virtual] |
Definition at line 169 of file Mod/PartDesign/Gui/Command.cpp.
void CmdPartDesignPocket::activated | ( | int | iMsg | ) | [protected, virtual] |
Methods which gets called when activated, needs to be reimplemented!
Implements Gui::Command.
Definition at line 183 of file Mod/PartDesign/Gui/Command.cpp.
References Gui::Command::copyVisual(), Gui::SelectionSingleton::countObjectsOfType(), Gui::Command::Doc, Gui::Command::doCommand(), Part::Part2DObject::getClassTypeId(), Gui::getMainWindow(), App::DocumentObject::getNameInDocument(), Gui::SelectionSingleton::getObjectsOfType(), Gui::Command::getSelection(), Gui::Command::getUniqueObjectName(), App::PropertyLinkSub::getValue(), Gui::Command::Gui, Gui::Command::isActiveObjectValid(), Gui::Command::openCommand(), Part::Feature::Shape, Part::Part2DObject::Support, and Gui::Command::updateActive().
virtual const char* CmdPartDesignPocket::className | ( | ) | const [inline, virtual] |
The C++ class name is needed as context for the translation framework.
Implements Gui::CommandBase.
Definition at line 169 of file Mod/PartDesign/Gui/Command.cpp.
bool CmdPartDesignPocket::isActive | ( | void | ) | [protected, virtual] |
Overite this method if your Cmd is not always active.
Reimplemented from Gui::Command.
Definition at line 237 of file Mod/PartDesign/Gui/Command.cpp.
References Gui::Command::hasActiveDocument().