Public Member Functions | |
virtual const char * | className () const |
The C++ class name is needed as context for the translation framework. | |
CmdSketcherConstrainLock () | |
virtual | ~CmdSketcherConstrainLock () |
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 331 of file CommandConstraints.cpp.
CmdSketcherConstrainLock::CmdSketcherConstrainLock | ( | ) |
Definition at line 333 of file CommandConstraints.cpp.
References Gui::Command::eType, Gui::Command::ForEdit, Gui::Command::sAppModule, Gui::Command::sGroup, Gui::CommandBase::sMenuText, Gui::CommandBase::sPixmap, Gui::CommandBase::sStatusTip, Gui::CommandBase::sToolTipText, and Gui::CommandBase::sWhatsThis.
virtual CmdSketcherConstrainLock::~CmdSketcherConstrainLock | ( | ) | [inline, virtual] |
Definition at line 331 of file CommandConstraints.cpp.
void CmdSketcherConstrainLock::activated | ( | int | iMsg | ) | [protected, virtual] |
Methods which gets called when activated, needs to be reimplemented!
Implements Gui::Command.
Definition at line 346 of file CommandConstraints.cpp.
References Gui::SelectionSingleton::clearSelection(), Gui::Command::commitCommand(), Gui::Command::Doc, Gui::Command::doCommand(), Sketcher::SketchObject::getGeoVertexIndex(), Gui::getMainWindow(), Sketcher::SketchObject::getPoint(), Gui::Command::getSelection(), Gui::SelectionSingleton::getSelectionEx(), Sketcher::none, Gui::Command::openCommand(), Gui::Command::updateActive(), Base::Vector3< _Precision >::x, and Base::Vector3< _Precision >::y.
virtual const char* CmdSketcherConstrainLock::className | ( | ) | const [inline, virtual] |
The C++ class name is needed as context for the translation framework.
Implements Gui::CommandBase.
Definition at line 331 of file CommandConstraints.cpp.
bool CmdSketcherConstrainLock::isActive | ( | void | ) | [protected, virtual] |
Overite this method if your Cmd is not always active.
Reimplemented from Gui::Command.
Definition at line 401 of file CommandConstraints.cpp.
References Gui::Command::getActiveGuiDocument(), and isCreateConstraintActive().