In earlier attempts I have managed to get the map working in the following manner:
* included the directory structure in the war directory of the project
* Created a FormPanel() (this is code prior to gxt 3.0.x) and in that panel added a HTML() containing the div-structure that the map needs (a main div with a specified id and some button-divs)
Now I want to make it a component so that it is separated from the application in a better way It will give me cleaner code and it is easier to reuse. But I do not know how to do this, so here are some questions:
* Is it for starters possible at all to accomplish this?
* Has anything similar been made before and are there examples to look at?
* What class should I override do you think?
* Can the directory structure (mapapi) be in the code (like for example the resources for the standard widgets) or must it be copied to war directory of each application that need the map?
Hope you can give some clarity on this matter. I would appreciate it alot.
Yes, it should certainly be possible - the Google Maps API for GWT must do almost exactly what you are describing, as do many other GWT libraries/widgets that wrap existing JS widgets. I would probably start with Component or Widget, and call setElement with an element to use as the root, then kick off the init process in JS to populate that element.
Can the directory structure (mapapi) be in the code (like for example the resources for the standard widgets) or must it be copied to war directory of each application that need the map?
If you are talking about the java package structure, then it can be whatever you want it to be that is reasonable. I'd probably put those JS/CSS/etc resources in the public/ directory and possibly reference them from within your module file.
Look at another project which wraps a JS library, and how they call back and forth to make things work correctly, and read the JSNI document carefully - that should provide much of what you need to know to do this.
Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."