Public Member Functions | |
Element (LinkView &handle) | |
bool | isLinked () const |
void | link (App::DocumentObject *obj) |
virtual void | unlink (LinkInfoPtr info=LinkInfoPtr()) override |
~Element () | |
Public Member Functions inherited from Gui::LinkOwner | |
virtual void | onLinkedIconChange (LinkInfoPtr) |
virtual void | onLinkedUpdateData (LinkInfoPtr, const App::Property *) |
virtual void | unlink (LinkInfoPtr) |
Public Attributes | |
int | groupIndex = -1 |
LinkView & | handle |
bool | isGroup = false |
LinkInfoPtr | linkInfo |
friend | LinkView |
CoinPtr< SoFCSelectionRoot > | pcRoot |
CoinPtr< SoSwitch > | pcSwitch |
CoinPtr< SoTransform > | pcTransform |
Additional Inherited Members | |
Protected Member Functions inherited from Gui::LinkOwner | |
virtual | ~LinkOwner () |
Gui::LinkView::Element::Element | ( | LinkView & | handle | ) |
Gui::LinkView::Element::~Element | ( | ) |
bool Gui::LinkView::Element::isLinked | ( | ) | const |
References Gui::LinkView::Element::linkInfo.
Referenced by Gui::LinkView::Element::link().
void Gui::LinkView::Element::link | ( | App::DocumentObject * | obj | ) |
References Gui::LinkView::childType, Gui::LinkInfo::get(), Gui::LinkView::Element::handle, Gui::LinkView::Element::isLinked(), Gui::LinkView::Element::linkInfo, Gui::LinkView::Element::pcRoot, and Gui::LinkView::Element::unlink().
Referenced by draftguitools.gui_dimensions.Dimension::create_linear_dimension_obj(), draftguitools.gui_dimensions.Dimension::create_radial_dimension_obj(), draftguitools.gui_dimensions.Dimension::createObject(), and draftguitools.gui_dimensions.Dimension::set_selection().
|
overridevirtual |
Reimplemented from Gui::LinkOwner.
References Gui::coinRemoveAllChildren(), Gui::LinkView::Element::linkInfo, and Gui::LinkView::Element::pcRoot.
Referenced by Gui::LinkView::Element::link(), and Gui::LinkView::Element::~Element().
int Gui::LinkView::Element::groupIndex = -1 |
LinkView& Gui::LinkView::Element::handle |
bool Gui::LinkView::Element::isGroup = false |
LinkInfoPtr Gui::LinkView::Element::linkInfo |
friend Gui::LinkView::Element::LinkView |
CoinPtr<SoFCSelectionRoot> Gui::LinkView::Element::pcRoot |
CoinPtr<SoSwitch> Gui::LinkView::Element::pcSwitch |
Referenced by Gui::LinkView::Element::Element().
CoinPtr<SoTransform> Gui::LinkView::Element::pcTransform |
Referenced by Gui::LinkView::Element::Element().