manolo / gwt-api-generator

Generator for creating GWT JSInterop clients from Polymer Web Components
Apache License 2.0
50 stars 24 forks source link

widget.event.* is added to imports even when there are no events generated #2

Closed Saulis closed 9 years ago

Saulis commented 9 years ago

For example, when polymerelements/paper-button is installed,

import com.vaadin.components.gwt.polymer.client.widget.event.*;

is added, even though no widget/event classes are generated.

The import should be ignored in the widget templates if there are no widget events.