1. #1
    Sencha User
    Join Date
    Sep 2009
    Posts
    6
    Vote Rating
    0
    klausg is on a distinguished road

      0  

    Lightbulb EventType.ToString() Improvement (for debugging)

    EventType.ToString() Improvement (for debugging)


    Some times you don't know exactly which event to listen for, and the documentation is not always up to date.
    So, you set a breakpoint and end up with
    EventType@2537, id = 19

    Then you have to go through all the EventType instances in Events, and any custom defined events, to find out which event it is.
    Why not add a name to the EventType constructor, and a proper toString() impl

    Like
    public static final EventType Activate = new EventType("Activete");

    It will probably take about one hour to do, and I bet it would save GXT developers and especially everyone else a lot of time.

    can I get a thumbs up?

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,731
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    EventType doesn't exist in any of the GXT 3 preview or beta builds - instead GwtEvent is being subclassed for every event, and so the toString will refer to the class itself.

  3. #3
    Sencha User Shawn.in.Tokyo's Avatar
    Join Date
    Feb 2009
    Posts
    42
    Vote Rating
    0
    Shawn.in.Tokyo is on a distinguished road

      0  

    Default


    Quote Originally Posted by Colin Alworth View Post
    EventType doesn't exist in any of the GXT 3 preview or beta builds - instead GwtEvent is being subclassed for every event, and so the toString will refer to the class itself.
    So how do we migtrate?

    Specificially I need to create an AppEvent with the constructor AppEvent(GwtEvent.Type<?> type)

    I just don't get, even after carefully reading the javadocs, searching google, and searching these forums; what we are supposed do for the "type" that we pass into the constructor.

    I've read every migration to 3.0 guide that I could find.

    It's really not clear at all. Is the Legacy mvc package really supposed to work and if so how??

Thread Participants: 2

Tags for this Thread

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..." hd porno faketaxi