Hey Richard,
yeah, that's correct. If you use EnumBasedFeatureProvider directly,
you will be able to use multiple feature enums.
Regarding your questions:
1. It's correct, that internally the feature is represented by a
simple string. And it is also correct that you may run into problems
if both enums contain the same features name. If you want to work
around that, you could think about extending EnumBasedFeatureProvider
or create a custom FeatureProvider implementation. This shouldn't be
too hard. You could for example add a prefix identifying the enum to
the feature name in this case. Togglz has been developed in a way that
allows to plug in such custom functionality.
2. I'm not sure if two rules in one class would work as expected. But
it should be simple to adapt the rule to support multiple enums. The
class is really simple.
I hope this helps
Christian
--
Christian Kaltepoth
Blog:
http://chkal.blogspot.com/
Twitter:
http://twitter.com/chkal