Public Member Functions | |
| virtual const char * | className () const |
| The C++ class name is needed as context for the translation framework. | |
| CmdInspectElement () | |
| virtual | ~CmdInspectElement () |
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 69 of file Mod/Inspection/Gui/Command.cpp.
| CmdInspectElement::CmdInspectElement | ( | ) |
Definition at line 71 of file Mod/Inspection/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 CmdInspectElement::~CmdInspectElement | ( | ) | [inline, virtual] |
Definition at line 69 of file Mod/Inspection/Gui/Command.cpp.
| void CmdInspectElement::activated | ( | int | iMsg | ) | [protected, virtual] |
Methods which gets called when activated, needs to be reimplemented!
Implements Gui::Command.
Definition at line 83 of file Mod/Inspection/Gui/Command.cpp.
References Gui::View3DInventorViewer::addEventCallback(), Gui::BitmapFactory(), Gui::Document::getActiveView(), Gui::View3DInventor::getViewer(), InspectionGui::ViewProviderInspection::inspectCallback(), Gui::Application::Instance, Gui::View3DInventorViewer::setEditing(), Gui::View3DInventorViewer::setEditingCursor(), and Gui::View3DInventorViewer::setRedirectToSceneGraph().
| virtual const char* CmdInspectElement::className | ( | ) | const [inline, virtual] |
The C++ class name is needed as context for the translation framework.
Implements Gui::CommandBase.
Definition at line 69 of file Mod/Inspection/Gui/Command.cpp.
| bool CmdInspectElement::isActive | ( | void | ) | [protected, virtual] |
Overite this method if your Cmd is not always active.
Reimplemented from Gui::Command.
Definition at line 97 of file Mod/Inspection/Gui/Command.cpp.
References App::Document::countObjectsOfType(), App::Application::getActiveDocument(), App::GetApplication(), Gui::View3DInventor::getClassTypeId(), Inspection::Feature::getClassTypeId(), Gui::getMainWindow(), Base::BaseClass::isDerivedFrom(), and Gui::View3DInventorViewer::isEditing().
1.6.1