You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
399 B

  1. '''
  2. Created on Jan 19, 2014
  3. @author: Chris
  4. '''
  5. from abc import ABCMeta, abstractmethod
  6. class OptionReader(object):
  7. '''
  8. Mixin for forcing subclasses to
  9. honor GetOptions method
  10. '''
  11. __metaclass__ = ABCMeta
  12. @abstractmethod
  13. def GetOptions(self):
  14. '''
  15. Implemented by subclasses.
  16. Defines how the config panel Views retrieve their options
  17. '''
  18. pass