enabling instantiations 'design' mode for a java class

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

enabling instantiations 'design' mode for a java class

Postby alexzakharov » Fri Aug 14, 2009 12:26 pm

Sorry if this has been posted before but I couldn't find an answer on the board...

How do you enable a 'design' tab for a given java class? And what are the types of Java classes that this mode can be enabled for?

Here is why I'm asking. If I go through designer menu and add a brand-new 'Composite' , 'Dialog' or 'Popup Panel' then once I double-click on the newly created class I see the 'Source' and the 'Design' bottom tabs and I can switch between the two as usual. I was under the impression that 'Design' mode can only be enabled for the three aforementioned types of Java classes.

Now, my project is configured for gwt-ext and I have a class MyGrid that happens to extend gwt-ext's GridPanel. Anyway, earlier today I was rearranging some my project's files/packages, moving classes, creating new packages etc. Among other things I moved MyGrid from one package to another. All of a sudden I noticed that MyGrid has a 'design' mode!

I tried adding a brand-new class that extends GridPanel and it doesn't have the design mode...

What gives? How can I enable a design mode for a class?

Thanks,

Alex
alexzakharov
 
Posts: 19
Joined: Wed Jun 03, 2009 12:14 pm

Re: enabling instantiations 'design' mode for a java class

Postby Eric Clayberg » Fri Aug 14, 2009 12:54 pm

alexzakharov wrote:How do you enable a 'design' tab for a given java class? And what are the types of Java classes that this mode can be enabled for?

See the docs...

http://download.instantiations.com/D2WB ... indow.html

Image
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: enabling instantiations 'design' mode for a java class

Postby alexzakharov » Fri Aug 14, 2009 1:57 pm

got it. thank you!
alexzakharov
 
Posts: 19
Joined: Wed Jun 03, 2009 12:14 pm

Re: enabling instantiations 'design' mode for a java class

Postby Eric Clayberg » Fri Aug 14, 2009 2:05 pm

Glad that worked for you. Eclipse will remember the last editor used with a file.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest