Detect instances of Class that are not IUIComponents
ThomasBurleson opened this issue · 2 comments
ThomasBurleson commented
SmartResouceInjectors support detection of UIComponent instances (via the Creation_CompleteEvent). However, instantion of classes that are not UIComponents is not yet supported.
Classes such as Sprites or data models or presentation controllers may require localization injections. A reasonable solution to easily integrate these instances into the LocalizationMap processes is needed.
ThomasBurleson commented
I think an LocaleMap listener for "addedToStage" would suffix for non-UIComponents.
ThomasBurleson commented
I think a LocaleMap.REGISTER_TARGET event would be useful to manually register non-GUI instances with the SmartResourceInjectors.