Class SpreadsheetConnectorBundleLoaderFactory

    • Constructor Detail

      • SpreadsheetConnectorBundleLoaderFactory

        public SpreadsheetConnectorBundleLoaderFactory()
    • Method Detail

      • getConnectorsForWidgetset

        protected Collection<com.google.gwt.core.ext.typeinfo.JClassType> getConnectorsForWidgetset​(com.google.gwt.core.ext.TreeLogger logger,
                                                                                                    com.google.gwt.core.ext.typeinfo.TypeOracle typeOracle)
                                                                                             throws com.google.gwt.core.ext.UnableToCompleteException
        Description copied from class: ConnectorBundleLoaderFactory
        Returns the connector types that should be included in the widgetset. This method can be overridden to create a widgetset only containing selected connectors.

        The default implementation finds all type implementing ServerConnector that have a @Connect annotation. It also checks that multiple connectors aren't connected to the same server-side class.

        Overrides:
        getConnectorsForWidgetset in class ConnectorBundleLoaderFactory
        Parameters:
        logger - the logger to which information can be logged
        typeOracle - the type oracle that can be used for finding types
        Returns:
        a collection of all the connector types that should be included in the widgetset
        Throws:
        com.google.gwt.core.ext.UnableToCompleteException - if the operation fails