Public Member Functions | |
virtual const char * | className () const |
The C++ class name is needed as context for the translation framework. | |
CmdSketcherNewSketch () | |
virtual | ~CmdSketcherNewSketch () |
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 54 of file Mod/Sketcher/Gui/Command.cpp.
CmdSketcherNewSketch::CmdSketcherNewSketch | ( | ) |
Definition at line 56 of file Mod/Sketcher/Gui/Command.cpp.
References Gui::Command::sAppModule, Gui::Command::sGroup, Gui::CommandBase::sMenuText, Gui::CommandBase::sPixmap, Gui::CommandBase::sStatusTip, Gui::CommandBase::sToolTipText, and Gui::CommandBase::sWhatsThis.
virtual CmdSketcherNewSketch::~CmdSketcherNewSketch | ( | ) | [inline, virtual] |
Definition at line 54 of file Mod/Sketcher/Gui/Command.cpp.
void CmdSketcherNewSketch::activated | ( | int | iMsg | ) | [protected, virtual] |
Methods which gets called when activated, needs to be reimplemented!
Implements Gui::Command.
Definition at line 68 of file Mod/Sketcher/Gui/Command.cpp.
References FemExample::b, SketcherGui::SketchOrientationDialog::DirType, Gui::Command::Doc, Gui::Command::doCommand(), SketcherGui::SketchOrientationDialog::exec(), Gui::getMainWindow(), App::DocumentObject::getNameInDocument(), Base::Placement::getPosition(), Base::Placement::getRotation(), Part::TopoShape::getSubShape(), Gui::Command::getUniqueObjectName(), Part::PropertyPartShape::getValue(), Gui::Command::Gui, Gui::SelectionFilter::match(), Gui::Command::openCommand(), draftTools::p, App::GeoFeature::Placement, SketcherGui::SketchOrientationDialog::Pos, Gui::SelectionFilter::Result, Part::Feature::Shape, Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
virtual const char* CmdSketcherNewSketch::className | ( | ) | const [inline, virtual] |
The C++ class name is needed as context for the translation framework.
Implements Gui::CommandBase.
Definition at line 54 of file Mod/Sketcher/Gui/Command.cpp.
bool CmdSketcherNewSketch::isActive | ( | void | ) | [protected, virtual] |
Overite this method if your Cmd is not always active.
Reimplemented from Gui::Command.
Definition at line 164 of file Mod/Sketcher/Gui/Command.cpp.
References Gui::Command::getActiveGuiDocument().