PartDesignGui::NoDependentsSelection Class Reference

#include <ReferenceSelection.h>

Public Member Functions

bool allow (App::Document *pDoc, App::DocumentObject *pObj, const char *sSubName) override
 Allow the user to pick only objects which are not in objs getDependencyList. More...
 
 NoDependentsSelection (const App::DocumentObject *support_)
 
- Public Member Functions inherited from Gui::SelectionFilterGate
virtual bool allow (App::Document *, App::DocumentObject *, const char *)
 
 SelectionFilterGate (const char *filter)
 construct with the filter string More...
 
 SelectionFilterGate (SelectionFilter *filter)
 
 ~SelectionFilterGate ()
 
- Public Member Functions inherited from Gui::SelectionGate
virtual bool allow (App::Document *, App::DocumentObject *, const char *)=0
 
virtual ~SelectionGate ()
 

Additional Inherited Members

- Public Attributes inherited from Gui::SelectionGate
std::string notAllowedReason
 notAllowedReason is a string that sets the message to be displayed in statusbar for cluing the user on why is the selection not allowed. More...
 
- Protected Member Functions inherited from Gui::SelectionFilterGate
 SelectionFilterGate ()
 
- Static Protected Member Functions inherited from Gui::SelectionFilterGate
static SelectionFilternullPointer ()
 
static const char * nullString ()
 
- Protected Attributes inherited from Gui::SelectionFilterGate
SelectionFilterFilter
 

Constructor & Destructor Documentation

◆ NoDependentsSelection()

PartDesignGui::NoDependentsSelection::NoDependentsSelection ( const App::DocumentObject support_)

Member Function Documentation

◆ allow()

bool NoDependentsSelection::allow ( App::Document pDoc,
App::DocumentObject pObj,
const char *  sSubName 
)
overridevirtual

Allow the user to pick only objects which are not in objs getDependencyList.

Reimplemented from Gui::SelectionFilterGate.

References Gui::SelectionGate::notAllowedReason, and App::DocumentObject::testIfLinkDAGCompatible().


The documentation for this class was generated from the following files: