'fill the macro dict will all value
from self.resource_macros_names'

def fill_resource_macros_names_macros(self):

    properties = self.__class__.properties
    macros = self.__class__.macros
    for macro_name in self.resource_macros_names:
        properties[(('$' + macro_name) + '$')] = StringProp(default='')
        macros[macro_name] = (('$' + macro_name) + '$')
