Class StunnerPreferencesRegistryLoader


  • @ApplicationScoped
    public class StunnerPreferencesRegistryLoader
    extends Object
    • Constructor Summary

      Constructors 
      Constructor Description
      StunnerPreferencesRegistryLoader​(org.kie.workbench.common.stunner.core.util.DefinitionUtils definitionUtils, org.jboss.errai.ioc.client.api.ManagedInstance<StunnerPreferencesRegistryHolder> preferencesHolders, org.kie.workbench.common.stunner.core.preferences.StunnerPreferences preferences, org.kie.workbench.common.stunner.core.client.preferences.StunnerTextPreferences textPreferences)  
    • Constructor Detail

      • StunnerPreferencesRegistryLoader

        @Inject
        public StunnerPreferencesRegistryLoader​(org.kie.workbench.common.stunner.core.util.DefinitionUtils definitionUtils,
                                                @Any
                                                org.jboss.errai.ioc.client.api.ManagedInstance<StunnerPreferencesRegistryHolder> preferencesHolders,
                                                org.kie.workbench.common.stunner.core.preferences.StunnerPreferences preferences,
                                                org.kie.workbench.common.stunner.core.client.preferences.StunnerTextPreferences textPreferences)
    • Method Detail

      • load

        public void load​(org.kie.workbench.common.stunner.core.diagram.Metadata metadata,
                         org.uberfire.mvp.ParameterizedCommand<org.kie.workbench.common.stunner.core.preferences.StunnerPreferences> loadCompleteCallback,
                         org.uberfire.mvp.ParameterizedCommand<Throwable> errorCallback)