Hi

I just tried eclipse indigo 3.7 and gwt plugin; The thing is it works 
pretty fine except the designer mode cause sometimes it hangs; As I could 
get it, the code editor doesn't have generated  annotations even working 
with gwt designer; Same windows eclipse indigo gwt designer, as I can 
remember, generates annotations especially above class constructor... Seems 
like parser doesn't read code if it is generated in constructor but if it 
generated in class body only - I tested; 
The thing is because all fields should be declared in class body makes hard 
to develope the mvc dedicated projects which is quite annoying :(

To be more clear I'll demo what code generation type doesn't freeze gwt 
designer and what does; Here it is...

*Code A - Code generation type which freezes gwt designer :*
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.Label;

public class GwtDesignerFreezer0 extends Composite {

    public GwtDesignerFreezer0() {
        
        FlowPanel flowPanel = new FlowPanel();
        initWidget(flowPanel);
        
        Label lblNewLabel = new Label("New label");
        flowPanel.add(lblNewLabel);
    }

}

*Code B -  And here is the code generated type which doesn't freeze gwt 
designer : *
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Button;

public class MyComposite0 extends Composite {
    private FlowPanel flowPanel;

    public MyComposite0() {
        jbInit();
    }
    private void jbInit() {
        
        flowPanel = new FlowPanel();
        initWidget(flowPanel);
    }

}

As you can see, linux version of eclipse indigo doesn't generated 
annotations even working with gwt designer; Still code B is quite 
overloaded I guess if to imagine all fields declarations will be placed in 
class body :(


So my question is... is there a way to make parser refresh ui successfully 
each widget adding in code A generation way cause now if to use code A 
style the *palette*, *properties*,*structure* and *all the rest eclispe gui* 
become freezed each new widged added :P


p.s. if you need some additional information please let me know


Thanks

  
*tech spec-s* *:*
- Google Plugin for Eclipse 3.7    3.6.0.v201406262229-rel-r37    
com.google.gdt.eclipse.suite.e37.feature.feature.group    Google, Inc.
- GWT Designer    3.1.2.r37x201307151456    
com.google.gdt.eclipse.designer.feature.feature.group    Google, Inc.
- GWT Designer Core    3.1.2.r37x201307151442    
com.google.gdt.eclipse.designer.hosted.feature.feature.group    Google, Inc.
- GWT Designer Editor    3.1.2.r37x201307151447    
com.google.gdt.eclipse.designer.editor.feature.feature.group    Google, Inc.
- GWT sdk 2.2 
- eclipse indigo 3.7 for linux x64
- linux x64

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

Reply via email to