Public Member Functions | |
virtual const char * | className () const |
The C++ class name is needed as context for the translation framework. | |
StdCmdDDuplicateSelection () | |
virtual | ~StdCmdDDuplicateSelection () |
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 779 of file CommandDoc.cpp.
StdCmdDDuplicateSelection::StdCmdDDuplicateSelection | ( | ) |
Definition at line 781 of file CommandDoc.cpp.
References Gui::Command::sAppModule, Gui::Command::sGroup, Gui::CommandBase::sMenuText, Gui::CommandBase::sStatusTip, Gui::CommandBase::sToolTipText, and Gui::CommandBase::sWhatsThis.
virtual StdCmdDDuplicateSelection::~StdCmdDDuplicateSelection | ( | ) | [inline, virtual] |
Definition at line 779 of file CommandDoc.cpp.
void StdCmdDDuplicateSelection::activated | ( | int | iMsg | ) | [protected, virtual] |
Methods which gets called when activated, needs to be reimplemented!
Implements Gui::Command.
Definition at line 792 of file CommandDoc.cpp.
References App::PropertyContainer::addDynamicProperties(), draftlibs::dxfLibrary::copy, App::Document::copyObject(), App::Application::getActiveDocument(), App::GetApplication(), Gui::SelectionSingleton::getCompleteSelection(), Gui::Application::getDocument(), App::PropertyContainer::getPropertyMap(), Gui::Document::getViewProvider(), Gui::Application::Instance, and Gui::Selection().
virtual const char* StdCmdDDuplicateSelection::className | ( | ) | const [inline, virtual] |
The C++ class name is needed as context for the translation framework.
Implements Gui::CommandBase.
Definition at line 779 of file CommandDoc.cpp.
bool StdCmdDDuplicateSelection::isActive | ( | void | ) | [protected, virtual] |
Overite this method if your Cmd is not always active.
Reimplemented from Gui::Command.
Definition at line 849 of file CommandDoc.cpp.
References Gui::SelectionSingleton::hasSelection(), and Gui::Selection().