Public Member Functions | |
virtual const char * | className () const |
The C++ class name is needed as context for the translation framework. | |
CmdSketcherConstrainVertical () | |
virtual | ~CmdSketcherConstrainVertical () |
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 243 of file CommandConstraints.cpp.
CmdSketcherConstrainVertical::CmdSketcherConstrainVertical | ( | ) |
Definition at line 245 of file CommandConstraints.cpp.
References Gui::Command::eType, Gui::Command::ForEdit, Gui::CommandBase::sAccel, Gui::Command::sAppModule, Gui::Command::sGroup, Gui::CommandBase::sMenuText, Gui::CommandBase::sPixmap, Gui::CommandBase::sStatusTip, Gui::CommandBase::sToolTipText, and Gui::CommandBase::sWhatsThis.
virtual CmdSketcherConstrainVertical::~CmdSketcherConstrainVertical | ( | ) | [inline, virtual] |
Definition at line 243 of file CommandConstraints.cpp.
void CmdSketcherConstrainVertical::activated | ( | int | iMsg | ) | [protected, virtual] |
Methods which gets called when activated, needs to be reimplemented!
Implements Gui::Command.
Definition at line 259 of file CommandConstraints.cpp.
References Gui::SelectionSingleton::clearSelection(), Gui::Command::commitCommand(), Sketcher::SketchObject::Constraints, Gui::Command::Doc, Gui::Command::doCommand(), Sketcher::SketchObject::Geometry, Part::GeomLineSegment::getClassTypeId(), Gui::getMainWindow(), Gui::Command::getSelection(), Gui::SelectionSingleton::getSelectionEx(), Part::PropertyGeometryList::getValues(), Sketcher::PropertyConstraintList::getValues(), Sketcher::Horizontal, Gui::Command::openCommand(), Gui::Command::updateActive(), and Sketcher::Vertical.
virtual const char* CmdSketcherConstrainVertical::className | ( | ) | const [inline, virtual] |
The C++ class name is needed as context for the translation framework.
Implements Gui::CommandBase.
Definition at line 243 of file CommandConstraints.cpp.
bool CmdSketcherConstrainVertical::isActive | ( | void | ) | [protected, virtual] |
Overite this method if your Cmd is not always active.
Reimplemented from Gui::Command.
Definition at line 325 of file CommandConstraints.cpp.
References Gui::Command::getActiveGuiDocument(), and isCreateConstraintActive().