Class SpreadsheetConnectorBundleLoaderFactory
java.lang.Object
com.google.gwt.core.ext.Generator
com.vaadin.component.spreadsheet.client.ConnectorBundleLoaderFactory
com.vaadin.component.spreadsheet.client.SpreadsheetConnectorBundleLoaderFactory
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.gwt.core.ext.Generator
com.google.gwt.core.ext.Generator.RunsLocal -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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, writeTypeCreatorMethods inherited from class com.google.gwt.core.ext.Generator
escape, escapeClassName
-
Constructor Details
-
SpreadsheetConnectorBundleLoaderFactory
public SpreadsheetConnectorBundleLoaderFactory()
-
-
Method Details
-
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
-