You need to run the gwt-api-generator in order to produce java classes of your component.. The generator inspects all web components that you install in your bower_components folder.
Are you using maven to compile your project? If so, you should read this section https://github.com/vaadin/gwt-api-generator#using-your-own-web-components-in-your-app to automatically setup node, npm, bower, and run gwt-generator in maven. - Manolo On Monday, November 28, 2016 at 3:21:26 PM UTC+1, GAURAV GUPTA wrote: > > Can you please help me creating my custom widget using *GWT 2.8* and *GWT > Polymer Elements 1.7.0.* > wanted to create custom my custom element i.e. html file. now Can I use > this custom element to create GWT Widget, Similar to what vaadin does: > > public class PaperCheckbox extends PolymerWidget { > /** > * Default Constructor. > */ > public PaperCheckbox() { > this(""); > } > ......... > ...... > } > > we have paper-checkbox.html in bower_component. > > Now I have my own : custom-element.html Now how I can create widget out of > it: > As I need to register my custom element, I am not sure how that will be > done. > > Thanks, > Gaurav > > > Follow Polymer on Google+: plus.google.com/107187849809354688692 --- You received this message because you are subscribed to the Google Groups "Polymer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/0235fbec-cfcf-45d9-8b9d-0a197b86ab76%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
