Public Member Functions | |
virtual const char * | className () const |
The C++ class name is needed as context for the translation framework. | |
StdCmdToggleSelectability () | |
virtual | ~StdCmdToggleSelectability () |
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 641 of file CommandView.cpp.
StdCmdToggleSelectability::StdCmdToggleSelectability | ( | ) |
Definition at line 643 of file CommandView.cpp.
References Gui::Command::Alter3DView, Gui::Command::eType, Gui::Command::sGroup, Gui::CommandBase::sMenuText, Gui::CommandBase::sPixmap, Gui::CommandBase::sStatusTip, Gui::CommandBase::sToolTipText, and Gui::CommandBase::sWhatsThis.
virtual StdCmdToggleSelectability::~StdCmdToggleSelectability | ( | ) | [inline, virtual] |
Definition at line 641 of file CommandView.cpp.
void StdCmdToggleSelectability::activated | ( | int | iMsg | ) | [protected, virtual] |
Methods which gets called when activated, needs to be reimplemented!
Implements Gui::Command.
Definition at line 655 of file CommandView.cpp.
References Gui::Command::doCommand(), App::GetApplication(), App::PropertyContainer::getClassTypeId(), App::Application::getDocuments(), Base::Type::getName(), Gui::SelectionSingleton::getObjectsOfType(), Gui::Document::getViewProviderByName(), Gui::Command::Gui, Base::BaseClass::isDerivedFrom(), and Gui::Selection().
virtual const char* StdCmdToggleSelectability::className | ( | ) | const [inline, virtual] |
The C++ class name is needed as context for the translation framework.
Implements Gui::CommandBase.
Definition at line 641 of file CommandView.cpp.
bool StdCmdToggleSelectability::isActive | ( | void | ) | [protected, virtual] |
Overite this method if your Cmd is not always active.
Reimplemented from Gui::Command.
Definition at line 679 of file CommandView.cpp.
References Gui::Selection().