Filter object for the SelectionSengleton This object is a link between the selection filter class and the selection singleton. More...
#include <SelectionFilter.h>
Public Member Functions | |
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 () |
Protected Member Functions | |
SelectionFilterGate () | |
Static Protected Member Functions | |
static SelectionFilter * | nullPointer () |
static const char * | nullString () |
Protected Attributes | |
SelectionFilter * | Filter |
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... | |
Filter object for the SelectionSengleton This object is a link between the selection filter class and the selection singleton.
Created with a filter string and registered in the selection it will only allow the described object types to be selected.
SelectionFilterGate::SelectionFilterGate | ( | const char * | filter | ) |
construct with the filter string
References Filter.
SelectionFilterGate::SelectionFilterGate | ( | SelectionFilter * | filter | ) |
References Filter.
SelectionFilterGate::~SelectionFilterGate | ( | ) |
References Filter.
|
protected |
References Filter.
|
virtual |
Implements Gui::SelectionGate.
Reimplemented in PartGui::BoxSelection::FaceSelectionGate, PartGui::DlgProjectionOnSurface::EdgeSelection, PartGui::DlgProjectionOnSurface::FaceSelection, PartGui::ShapeSelection, PartGui::DlgExtrusion::EdgeSelection, PartGui::EdgeFaceSelection, PartGui::DlgRevolution::EdgeSelection, PartGui::FaceSelection, PartGui::SweepWidget::Private::EdgeSelection, PartGui::ThicknessWidget::Private::FaceSelection, SketcherGui::GenericConstraintSelection, SketcherGui::ExtendSelection, SketcherGui::FilletSelection, SketcherGui::SplittingSelection, SketcherGui::TrimmingSelection, SurfaceGui::FillingPanel::ShapeSelection, SurfaceGui::FillingEdgePanel::ShapeSelection, SurfaceGui::FillingVertexPanel::VertexSelection, SurfaceGui::SectionsPanel::ShapeSelection, FemGui::FemSelectionGate, PartDesignGui::ReferenceSelection, SketcherGui::CarbonCopySelection, SketcherGui::ExternalSelection, SurfaceGui::GeomFillSurface::EdgeSelection, PartDesignGui::NoDependentsSelection, and PartDesignGui::CombineSelectionFilterGates.
References Filter, and Gui::SelectionFilter::test().
|
staticprotected |
|
staticprotected |
|
protected |
Referenced by allow(), SelectionFilterGate(), and ~SelectionFilterGate().