Re: Is they a way to create minimise buttons?
Hi, Ananda May you asked at wrong place? If you don't mind import thirdparty project, you can have a look gwt-ext or mywidget project, it's very easy to implement your require. James On 11月24日, 下午6时42分, Ananda [EMAIL PROTECTED] wrote: Hi Every one Greeting to everyone.. I want to create a popup like a screens in windows. More precisely I am require to create a popup having close , minimize, maximize buttons. Is there any way to create these? Can any give me a hint so that I can work on that? Regards Ananda --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Is they a way to create minimise buttons?
Hi, Ananda, You can have a look the showcase project of GWT, especially this class: gwt-windows-1.5.2\samples\Showcase\src\com\google\gwt\sample \showcase\client\content\popups\CwDialogBox.java Hope that helps James On 11月24日, 下午7时26分, Ananda [EMAIL PROTECTED] wrote: Thanks James, Is there a way to implement without using third party jar files? I am using GWT 1.5.3 version..is it possible to implement the same in GWT alone? Ananda -Original Message- From: Google-Web-Toolkit@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] com Sent: Monday, November 24, 2008 1:38 PM To: Google Web Toolkit Subject: Re: Is they a way to create minimise buttons? Hi, Ananda May you asked at wrong place? If you don't mind import thirdparty project, you can have a look gwt-ext or mywidget project, it's very easy to implement your require. James On 11月24日, 下午6时42分, Ananda [EMAIL PROTECTED] wrote: Hi Every one Greeting to everyone.. I want to create a popup like a screens in windows. More precisely I am require to create a popup having close , minimize, maximize buttons. Is there any way to create these? Can any give me a hint so that I can work on that? Regards Ananda --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Aspect-Oriented Programming for GWT, GWTENT-0.5 now available for downloa
Hi, Ping, Thank you. the implement is using plain java and generators. AspectJ expression request AspectJ jars, but this just request in Compile time. James On 11月24日, 下午9时51分, Ping [EMAIL PROTECTED] wrote: Hi James, Great Work! I'll try it as soon as I can. Some questions: you implemented it using plain java and generators, or are you using some javascript to the mix? On Nov 24, 8:26 am, Ananda [EMAIL PROTECTED] wrote: Thanks James, Is there a way to implement without using third party jar files? I am using GWT 1.5.3 version..is it possible to implement the same in GWT alone? Ananda -Original Message- From: Google-Web-Toolkit@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] com Sent: Monday, November 24, 2008 1:38 PM To: Google Web Toolkit Subject: Re: Is they a way to create minimise buttons? Hi, Ananda May you asked at wrong place? If you don't mind import thirdparty project, you can have a look gwt-ext or mywidget project, it's very easy to implement your require. James On 11月24日, 下午6时42分, Ananda [EMAIL PROTECTED] wrote: Hi Every one Greeting to everyone.. I want to create a popup like a screens in windows. More precisely I am require to create a popup having close , minimize, maximize buttons. Is there any way to create these? Can any give me a hint so that I can work on that? Regards Ananda --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Aspect-Oriented Programming for GWT, GWTENT-0.5 now available for download
Oops, The format is not good for read, And looks like I can't modify it. Sorry. On Nov 24, 10:10 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, Guys, Aspect-Oriented Programming for GWT, GWTENT-0.5 now available for download. Please see here or read through this post for more information:http://code.google.com/p/gwt-ent/wiki/AOP You can get all interceptors in sample project athttp://gwt-ent.googlecode.com/svn/trunk/gwtent-sample/src/com/gwtent/... Please download the sample project athttp://code.google.com/p/gwt-ent/downloads/list If you get anything, any advises, issues, please let me know, let us make it better. :D 1, Introduction Now Aspect-Oriented Programming is available in GWT. The following advice type supported by GWTENT(Compatible with AspectJ annotation). 1. @Around 2. @Before 3. @After 4. @AfterReturning? 5. @AfterThrowing? * Around advice: Advice that surrounds a join point such as a method invocation. This is the most powerful kind of advice. Around advice can perform custom behavior before and after the method invocation. It is also responsible for choosing whether to proceed to the join point or to shortcut the advised method execution by returning its own return value or throwing an exception. * Before advice: Advice that executes before a join point, but which does not have the ability to prevent execution flow proceeding to the join point (unless it throws an exception). * After (finally) advice: Advice to be executed regardless of the means by which a join point exits (normal or exceptional return). * After returning advice: Advice to be executed after a join point completes normally: for example, if a method returns without throwing an exception. * After throwing advice: Advice to be executed if a method exits by throwing an exception. And for pointcut, we support both Google Guice matcher classes and AspectJ expression(a subset of AspectJ expression) Please see here for all interceptors in sample project. Please download the sample projecthere 2, Pointcut 2.1, Overview Pointcut: A predicate that matches join points. Advice is associated with a pointcut expression and runs at any join point matched by the pointcut (for example, the execution of a method with a certain name). The concept of join points as matched by pointcut expressions is central to AOP: we support AspectJ pointcut language and Google Guice matcher classes. 2.1.1, Client-side code? Please note, All pointcut match code is runing at compile time, it's mean you can write truely java code in your matcher class and without any limit in GWT client-side code. In compile time and host- mode, GWTENT require AspectJ jars to dealwith AspectJ expression, but after your compile it, all are javascript. 2.2, AspectJ pointcut expression style to be continue 2.2, Google Guice matcher style We support matchclass(the class name which implement com.gwtent.aop.matcher.ClassMethodMatcher?), for example: @Aspect public static class PhoneRedirectInterceptor { @Around(matchclass (com.gwtent.test.aspectj.TestMatcher)) public Object invoke(MethodInvocation invocation) throws Throwable { invocation.proceed(); System.out.println(Do something in PhoneRedirectInterceptor...); return new Receiver(Alberto's Pizza Place); } } the matcher class will looks like this: public class TestMatcher implements ClassMethodMatcher { public Matcher? super Class? getClassMatcher() { return Matchers.subclassesOf(Phone.class); } public Matcher? super Method getMethodMatcher() { return Matchers.returns(Matchers.only (Phone.Receiver.class)); //return Matchers.any(); } } 3, Advice 3.1, Arguments Binding 1. if there is com.gwtent.client.aop.intercept.MethodInvocation? in args list, then invocation will assign to args. 2. if source method and advice method have the same class type and this type just have one, then we assign this one to args 3. Read settings in @AfterReturning? [EMAIL PROTECTED]( pointcut=**, returning=retVal ) public void afterReturning(Object retVal) 4. Read settings in @AfterThrowing? [EMAIL PROTECTED]( throwing=e } public void afterThrowing(Throwable e) 3.2, @Around Advice that surrounds a join point such as a method invocation. This is the most powerful kind of advice. Around advice can perform custom behavior before and after the method invocation. It is also responsible for choosing whether to proceed to the