Code Monkey home page Code Monkey logo

Comments (8)

branflake2267 avatar branflake2267 commented on August 16, 2024

Sounds good. :)

from gwt-maps-v3-api.

branflake2267 avatar branflake2267 commented on August 16, 2024

Have you done anything with this?

from gwt-maps-v3-api.

branflake2267 avatar branflake2267 commented on August 16, 2024

Hmmm, I'm looking at the handlers, and I remember trying to paramertize the MapEvent before but seemed a static type was slowing me down. I haven't found it all yet. While I'm looking I see line width of 80, do you mind if I reset the stuff to 120?

from gwt-maps-v3-api.

branflake2267 avatar branflake2267 commented on August 16, 2024

Wow, flash backs trying to extract this. Ugh b/c the TYPE is static it causes some inheritance, then GwtEvent MapEvent wants both the event type and handler creates some fun. :)

from gwt-maps-v3-api.

branflake2267 avatar branflake2267 commented on August 16, 2024

How far down the rabbit hole would you like to go on this? I think b/c of the way GwtEvent I was a little constrained and I also generified it a bit. Since this works, I'm not sure its worth it. Thoughts?

Although adding a wild card gets rid of the eclipse warning.

 public static <E extends MapEvent<?, E>> HandlerRegistration addHandler(...

from gwt-maps-v3-api.

twistedpair avatar twistedpair commented on August 16, 2024

Frankly it is not a big deal. Thanks for looking into it. I just try not to have any warnings in Eclipse and this is one of the few we have left. Frankly, given the limitations of the GWT JSO design and the Maps API, I concede that it is permissible to just suppress this warning, given that we've both investigated and vetted it.

from gwt-maps-v3-api.

branflake2267 avatar branflake2267 commented on August 16, 2024

Sounds good. :)

from gwt-maps-v3-api.

branflake2267 avatar branflake2267 commented on August 16, 2024

I'm going to close my branch pull request on this issue for now. And leave as is. :)

from gwt-maps-v3-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.