Ticket #234 (closed: fixed)
Add custom validators for workspace properties
Reported by: | Russell Taylor | Owned by: | Russell Taylor |
---|---|---|---|
Priority: | major | Milestone: | Iteration 12 |
Component: | Keywords: | ||
Cc: | Blocked By: | ||
Blocking: | Tester: |
Description
Currently, the validation for a WorkspaceProperty is hard-coded. It then often turns out that you have to go checking the input workspace before you do anything else in the exec() part of an algorithm.
Change History
Note: See
TracTickets for help on using
tickets.
(In [1378]) Added some validators for workspace properties, including a CompositeValidator so that a number of validators for a workspace can be attached to the same WorkspaceProperty. The WorkspaceProperty::isValid method still checks the name and type of a workspace and that it exists (if input), but then also calls any validators attached to the property. Re #234.