Adding support for activating view properties

Initial draft to discuss design
1. Please add a more descriptive comment, what is the scenario here and what happens when generating mappings fail.
2. What are the side effects if any in the editor