Class BrowserRequireProvider

    • Constructor Detail

      • BrowserRequireProvider

        public BrowserRequireProvider​(Channel componentChannel)
        Creates a new component with its channel set to the given channel.
        Parameters:
        componentChannel - the channel that the component’s handlers listen on by default and that Manager.fire(Event, Channel...) sends the event to
    • Method Detail

      • onConsoleReady

        @Handler(priority=100)
        public void onConsoleReady​(ConsoleReady event,
                                   ConsoleSession consoleSession)
                            throws freemarker.template.TemplateNotFoundException,
                                   freemarker.template.MalformedTemplateNameException,
                                   freemarker.core.ParseException,
                                   IOException
        On ConsoleReady, fire the appropriate AddPageResources.
        Parameters:
        event - the event
        consoleSession - the web console session
        Throws:
        freemarker.template.TemplateNotFoundException - the template not found exception
        freemarker.template.MalformedTemplateNameException - the malformed template name exception
        freemarker.core.ParseException - the parse exception
        IOException - Signals that an I/O exception has occurred.