1. #1
    Ext GWT Premium Member
    Join Date
    Nov 2009
    Location
    Bratislava
    Posts
    3
    Vote Rating
    0
    gabriel.forro is on a distinguished road

      0  

    Default Has* GWT interface support in gxt

    Has* GWT interface support in gxt


    Hi,

    I am evaluating gxt and I am wondering, whether the Has* GWT interfaces will be supported by the gxt widgets in the future. I mean the interfaces like the HasValue<T> for TextBox or HasText for Label in the common GWT widgets.
    These interfaces are quite useful, as You can reference your widgets in the presenter (controller) through these interfaces. This makes your code easy to test in common junit tests, as You can mock the view.

    Please let me know, whether such support is planned to be introduced.

    Thanks and have a nice day,

    Gabriel

  2. #2
    Ext User
    Join Date
    Apr 2008
    Location
    Lincoln, NE
    Posts
    235
    Vote Rating
    0
    jpnet is an unknown quantity at this point

      0  

    Default


    I would also like to see this.

    -JP

  3. #3
    Ext User
    Join Date
    Jul 2008
    Posts
    202
    Vote Rating
    0
    eugenparaschiv is on a distinguished road

      0  

    Default


    That would be a good and natural evolution for the GXT platform; the decision to implement everything from ground up shouldn't exclude the possibility of integrating some elements that are just a good fit. In the case of interfaces, I think the decision is a no-brainer.

  4. #4
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    We can look into all this for GXT3, also for major GWT2 support. This all is not possible in any minor release as the required changes are far too big.

  5. #5
    Ext GWT Premium Member
    Join Date
    Nov 2009
    Location
    Bratislava
    Posts
    3
    Vote Rating
    0
    gabriel.forro is on a distinguished road

      0  

    Default


    Hi Sven,

    thanks for the info. Is there any rough release plan for the mentioned GXT3? When it could be available?
    Thanks in advance and have a nice day!

    Gabriel

  6. #6
    Ext User
    Join Date
    Jan 2009
    Posts
    7
    Vote Rating
    0
    need4speed is on a distinguished road

      0  

    Default


    I am interested in gxt road map too.

  7. #7
    Ext User
    Join Date
    Jul 2008
    Posts
    202
    Vote Rating
    0
    eugenparaschiv is on a distinguished road

      0  

    Default


    Ok, as a result of this discussion and some other threads all over the GXT forums, I created a google code project to address the problem. It is a thin layer of interfaces and simple implementations that sits on top of the GXT framework. The main purpose is to provide a simple way of creating code that is completely testable and mockable via mocking frameworks (such as Mockito).
    http://code.google.com/p/gxt-interfaces/
    I will try to upload the artifact on some public maven repos as well, but in the meantime, just import the code. Hope it helps. Eugen.

  8. #8
    Ext User
    Join Date
    Apr 2008
    Location
    Lincoln, NE
    Posts
    235
    Vote Rating
    0
    jpnet is an unknown quantity at this point

      0  

    Default


    Thanks for doing this!