Public Member Functions | |
virtual const char * | className () const |
The C++ class name is needed as context for the translation framework. | |
StdCmdDelete () | |
virtual | ~StdCmdDelete () |
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 890 of file CommandDoc.cpp.
StdCmdDelete::StdCmdDelete | ( | ) |
Definition at line 892 of file CommandDoc.cpp.
References Gui::Command::eType, Gui::Command::ForEdit, Gui::Command::keySequenceToAccel(), Gui::CommandBase::sAccel, Gui::Command::sGroup, Gui::CommandBase::sMenuText, Gui::CommandBase::sPixmap, Gui::CommandBase::sStatusTip, Gui::CommandBase::sToolTipText, and Gui::CommandBase::sWhatsThis.
virtual StdCmdDelete::~StdCmdDelete | ( | ) | [inline, virtual] |
Definition at line 890 of file CommandDoc.cpp.
void StdCmdDelete::activated | ( | int | iMsg | ) | [protected, virtual] |
Methods which gets called when activated, needs to be reimplemented!
Implements Gui::Command.
Definition at line 907 of file CommandDoc.cpp.
References Gui::Command::Doc, Gui::Command::doCommand(), App::GetApplication(), Gui::Application::getDocument(), App::Application::getDocuments(), Gui::SelectionSingleton::getSelectionEx(), Gui::Document::getViewProvider(), Gui::Application::Instance, Gui::ViewProvider::onDelete(), and Gui::Selection().
virtual const char* StdCmdDelete::className | ( | ) | const [inline, virtual] |
The C++ class name is needed as context for the translation framework.
Implements Gui::CommandBase.
Definition at line 890 of file CommandDoc.cpp.
bool StdCmdDelete::isActive | ( | void | ) | [protected, virtual] |
Overite this method if your Cmd is not always active.
Reimplemented from Gui::Command.
Definition at line 931 of file CommandDoc.cpp.
References Gui::SelectionSingleton::getCompleteSelection(), and Gui::Selection().