Class SpreadsheetConnectorBundleLoaderFactory
- java.lang.Object
-
- com.google.gwt.core.ext.Generator
-
- com.vaadin.component.spreadsheet.client.ConnectorBundleLoaderFactory
-
- com.vaadin.component.spreadsheet.client.SpreadsheetConnectorBundleLoaderFactory
-
public class SpreadsheetConnectorBundleLoaderFactory extends ConnectorBundleLoaderFactory
-
-
Constructor Summary
Constructors Constructor Description SpreadsheetConnectorBundleLoaderFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)Returns the connector types that should be included in the widgetset.-
Methods inherited from class com.vaadin.component.spreadsheet.client.ConnectorBundleLoaderFactory
generate, getBoxedTypeName, getClassLiteralString, getLoadStyle, writeClassLiteral, writeTypeCreator
-
-
-
-
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:ConnectorBundleLoaderFactoryReturns 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
ServerConnectorthat have a @Connectannotation. It also checks that multiple connectors aren't connected to the same server-side class.- Overrides:
getConnectorsForWidgetsetin classConnectorBundleLoaderFactory- Parameters:
logger- the logger to which information can be loggedtypeOracle- 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
-
-