Saturday, February 28, 2015

GWT Plugin for Eclipse

Hi!

  • Why is GWT Designer still available under "Install New Software", even though it's deprecated?
  • Why is the GWT SDK still in version 2.6.0?

Thanks
Magnus

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Re: GWT 2.70 and emulated compiler stack mode

What does "does not work anymore" mean? The exception does not have a stack trace? Or a wrong stack trace? Or you can't send it to the server anymore? Or something else?

Given that emulated stacks are generated by the GWT compiler it might be a regression bug, but you have to be more specific about what's wrong and then open an issue.


-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Re: GWT 2.70 and emulated compiler stack mode

Whoops, to be clear, it was working up to and including GWT 2.6.1, but has stopped working in GWT 2.7.0.

James

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Friday, February 27, 2015

Re: Looks like ext-js issues migrating from GWT 1.7.0 to GWT 2.7.0. Need help.

Alain,
Thanks a lot for your response.
Just making sure. Are you suggesting me to create Ext4j and upgrade my Ext JS libraries ?

Please let me know.

On Thursday, February 26, 2015 at 11:09:57 AM UTC-5, Alain wrote:
If you are using GWT-Ext it wont work with a recent version of GWT/ Ext JS. This is the reason why I created Ext4j: 
http://opensource.ahome-it.com/#ext4j.
 
Ext4j works with any version of Ext JS starting with version 4 and GWT 2.6+

You can download Ext JS on the sencha's site.


On 26 February 2015 at 16:43, ssg <shiv...@gmail.com> wrote:
Thanks Jens. I have removed my 1st line with <!DOCTYPE html> as you suggested.

Can you please tell me where I can get the upgraded version of ext-all.js library to a version that is compatible with GWT 2.7.0 ?
I googled a got confused. Please let me know.

Jens, Once again thanks a lot for your time and responses.

On Wednesday, February 25, 2015 at 12:03:55 PM UTC-5, Jens wrote:

  1. Application does not load initially as the IE Browser opens in IE 10 Compatability View Mode.
Use <!DOCTYPE html> at the top of your html page that loads the app.

 
  1. The application loads successfully once I change the Browser Mode to IE10. At this point if I CLICK on any items in the left navigation panel I am getting the below errors and looks like OnClick() of GWT is not working along with the ext-all.js issues.

Here is the ext-all.js issues I see in Console of IE10 browser;


Upgrade your ext-all.js library to a version that is compatible with GWT 2.7.


-- J. 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.



--

Alain Ekambi

Co-Founder

Ahomé Innovation Technologies

http://www.ahome-it.com/

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

@VictoriasSecret tweeted: A little pregame prep. Angel volleyball up next! #VSSwimSpecial

Victoria's Secret
@VictoriasSecret
 
A little pregame prep. Angel volleyball up next! #VSSwimSpecial
View on Twitter
Seventeen Magazine
@seventeenmag
 
18 Cutest Prom Dresses With Sleeves bit.ly/18safGg
View on Twitter
Who What Wear
@WhoWhatWear
 
Brunch. Puppies. Yoga. Non-fashion things fashion girls are obsessed with: wwwear.me/FSeQySx
View on Twitter
UberFacts
@UberFacts
 
Pokemon Gold and Silver were developed by a small team of only 4 programmers, which is why it took 3 and a half years to make.
View on Twitter
Ellen DeGeneres
@TheEllenShow
 
From this day on, the world will be divided into two people. Blue & black, or white & gold. ellen.tv/1vE3oDx
View on Twitter
Demi Lovato
@ddlovato
 
Hold on.... So people actually see white and gold....??!! 😰😱
View on Twitter
Not what you're looking for?
Well there's more to see on Twitter! Click here to discover more interesting Tweets.
Explore

Re: CssResource in UiBinder

Either you use <ui:style> to get an implicit ClientBundle and CssResource (you can define an extended interface, other source CSS files to use, and inject the resulting CssResource into a @UiField), and it'll be automatically ensureInjected().
Or you use an existing ClientBundle and CssResource (with existing source CSS files) that you reference through <ui:with> (either GWT.create()d and possibly injected into a @UiField, or taken from a @UiField(provided=true), and you have to call ensureInjected() yourself (as with any other object used through <ui:with>)

On Friday, February 27, 2015 at 3:38:37 PM UTC+1, Stefano Pulze wrote:
Hi all,

Can anyone explain me how tu use (and reuse) CssResource inside a UiBinder?

I don't understand if I have to make a ClientBundle with some CssResources interface 
and use with the tag <ui:with .... /> inside a UiBinder.

Be CssResource ensureInjected() ?

Thanks 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

CssResource in UiBinder

Hi all,

Can anyone explain me how tu use (and reuse) CssResource inside a UiBinder?

I don't understand if I have to make a ClientBundle with some CssResources interface 
and use with the tag <ui:with .... /> inside a UiBinder.

Be CssResource ensureInjected() ?

Thanks 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Long not working correct!

Hi,

I tried to share Long object between 2 windows, and looks like Long is failing in the 2nd window.

code:

class Obj {

Long someLong;
String someString;

}

now we export a method for taking a object in a opened Window

public static Obj getObj() { ... } public static native void exportStaticMethod() /*-{ $wnd.getObj= $entry(@mypackage.XXX::getObj()); }-*/;


then we open new window

$wnd.open(params)

and in the new window we call

$wnd.opener.getObj()

we receive the object but the Long value inside fails with no exception. It just dosent work.
if we reset the received value it works again:

Obj objWithLong = $wnd.opener.getObj();

objWithLong .someLong = new Long (objWithLong .someLong);


then it works...


I guess some bug in the translation of long, I guess the represented long object in JS has some problems after shared between window...



--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Thursday, February 26, 2015

GWT-OpenLayers - Drawing an arc between two points

I would like to display an arc on a map that connects two points. Ultimately, I would like to achieve something like this with GWT-OpenLayers:


Does GWT-OpenLayers support arcs like this? I cannot get the Curve class to display anything on a map, and I cannot find a working Curve example online. The closest examples I can find only let the user click multiple points, which are then connected by joint line segments... I would like to create arcs (or pseudo-arcs via line segments) that do not depend on user mouse input.

Here's an example for how I assume you use the Curve class, it may be incorrect.

//Use of Curve object. Does not show anything on the map.
Point midPoint = //midpoint calculation
Point midPointWithYOffset = new Point(midPoint.getX(), midPoint.getY()+10.0);
points[0] = startPoint;
points[1] = midPointWithYOffset; //to get a curve rather than a straight line
points[2] = endPoint;
VectorFeature feature = new VectorFeature(new Curve(points));


This results in nothing displaying on the map. However, if I change "Curve" to "LineString" (and ONLY if `points[1] = midPoint //without Y offset`), a straight line appears on the map just fine.
  •  Using LineString: if I attempt to choose a point that is not directly on the shortest straight line between the startPoint and endPoint, nothing shows on the map.
  •  Using Curve: I haven't been able to get this to work at all.
//Use of LineString object that does show a straight line on the map
Point midPoint = //midpoint calculation
points[0] = startPoint;
points[1] = midPoint;
points[2] = endPoint;
VectorFeature feature = new VectorFeature(new LineString(points));

//Use of LineString object that does not show anything on the map.
Point midPoint = //midpoint calculation
Point midPointWithYOffset = new Point(midPoint.getX(), midPoint.getY()+10.0);
points[0] = startPoint;
points[1] = midPointWithYOffset; //to get a curve rather than a straight line
points[2] = endPoint;
VectorFeature feature = new VectorFeature(new LineString(points));


I would be grateful for any knowledge the users here have. Thank you very much.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Re: CellList inside a panel of 100% height



On Wednesday, February 25, 2015 at 8:06:55 PM UTC+1, Jens wrote:
The panel is located in an UIBinder with a HTMLPanel as root. So I used getParent().getOffsetHeight().
Any ideas why this is not exactly the client height?
 
clientHeight includes padding
offsetHeight includes padding, borders and scrollbars

Ok, but even getElement().getClientHeight is a few pixels too large:


It's ok for me to substract some pixels, but I wonder why getClientHeight does not return the exact value...

And why does the panel with the CellList have to be fixed-sized?
You can also use 100% on the ScrollPanel if any parent is limited in size.

What's limited size? All parents are resizable by the user, but at any point in time the parent's client size is limited...

For example, if I use a table with 100% height, it works... but not with the CellList...

Magnus

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Canvas and drawing a text along an arc path

Hello,

I was previously using SWTBCanvasText (an extension of GWTCanvas) to draw some text along a circle segment.
Since GWTCanvas is deprecated, I recently made the move to the regular Canvas in GWT.

It is possible to draw a text along a path, as shown in :
http://www.w3.org/Graphics/SVG/IG/resources/svgprimer.html#text

<defs>
<path id="curve" d="M 10 100 C 200 30 300 250 350 50" stroke="black" fill="none" stroke-width="5" />
</defs>
<text id="T" style="font-family:ariel;font-size:16">
<textPath xlink:href="curve">Hello, here is some text lying along a bezier curve.</textPath>
</text>


Basically, given a path with an Id (here "curve"), it is possible to create a textPath linked to this Id.

Unfortunately, I can't see how I can do this in the Context2d class.

Of course, I could draw the text letter after letter like in example herunder, but I would prefer using integrated function.
http://www.html5canvastutorials.com/labs/html5-canvas-text-along-arc-path/

I could also integrate a massive library, but I don't consider it an option considering that, except for this issue, current Canvas class is fit for my needs.

Thanks for you advices,

Philippe

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.