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