- public:
- virtual bool isValid(const ModuleBase_ISelection* theSelection) const = 0;
- virtual bool isValid(const ModuleBase_ISelection* theSelection,
- const std::list<std::string>& theArguments) const
- {
- return isValid(theSelection);
- }
+public:
+ /// Returns True if selection is valid
+ /// \param theSelection selection instance
+ /// \param theOperation - current operation (can be 0)
+ virtual bool isValid(const ModuleBase_ISelection* theSelection, ModuleBase_Operation* theOperation) const;